When the user opens a grid for the first time, all "preferences" are great (column widths). If the user changes a column size, we want to be able to give him the option to revert to the default. Is there a way to do this?
I'd like to illustrate the problem on the current smartgwt 4.1 showcase:
Starting with "grid->appearance->preferences":
http://www.smartclient.com/smartgwt/...ce_preferences
Resize "capital" to the minimal allowed width (the text will became "..." both in title and in values).
Choose the default viewState and click "restore view state".
Result: the "capital" column is still "...".
Expected result: the layout as if the client reloads the application.
P.S. This is very similar to: http://forums.smartclient.com/showth...iewstate+width (not the same though - we don't want a fixed width solution, we want the perfectly working "default" behavior, before the user resizes anything)
I'd like to illustrate the problem on the current smartgwt 4.1 showcase:
Starting with "grid->appearance->preferences":
http://www.smartclient.com/smartgwt/...ce_preferences
Resize "capital" to the minimal allowed width (the text will became "..." both in title and in values).
Choose the default viewState and click "restore view state".
Result: the "capital" column is still "...".
Expected result: the layout as if the client reloads the application.
P.S. This is very similar to: http://forums.smartclient.com/showth...iewstate+width (not the same though - we don't want a fixed width solution, we want the perfectly working "default" behavior, before the user resizes anything)
Comment