Handle collapsed collumn change

Hello, is it possible to handle collapsed collumn change? I was looking for that in doc but I haven’t found.
There is no listener for that:(
Thank’s in advance for help.


Unfortunately it’s not currently possible, see
this ticket
for details. Also, I guess it would not be too difficult to extend the Table yourself and add the listening logic for this. Changes in the collapsed columns should be already transmitted to the server-side class.


Indeed, you can override Table.setColumnCollapsed(propertyId, collapsed) to catch these.

Note that you will get a lot of calls to this method, also for columns whose status has not changed, so design your logic accordingly.

Thank you. Great and simple. It fixed my problem.