How to save collapsed columns and column ordering.

I need to save the status of collapsed/noncollapsed columns as well as the column ordering.
How can I get the status of such properties ?
Is there an automatic way to get such infos ?
Tks

Are you talking about Table or Grid?

Table
Tks

Nobody can help ?
Tks