Saving Table properties

It’s me again…

I really like the ColumnReordering and ColumnCollapsing features in a Table. But is there any convenient way to save these settings per user basis between sessions? I was thinking of serializing the empty table, but I noticed that the Table component is not Serializable.

ColumnCollapsing could be restored by calling getVisibleColumns and keeping them stored somewhere, serialized, (and then setting them back in a new session) if I use Serializable propertyId’s, right?

Hey,

You could save a list of column name strings to the database, that are attached to your user object - the list should then be passed with setVisibleColumns upon rendering to the table.

Not very neat but I’m out of better ideas.