Yeah, Michiel's attempt also sounds pretty good.
And btw. another question: Is it possible to check/uncheck a
checkBox programmatically? I looked for it in the API doc, but didn't find anything..
Some background: I have something like a "View settings" panel where the user can show and hide some columns of the
checkbox. There is a procedure which looks for the
ischecked value of the
checkBox and then either shows the corresponding column or hides it. Its
action is bound to the
Apart from that, I have a
reset_grid_state button which has kind of the same functionality as shown in tutorial no. 47. In the
postInitialize event of my
gridPanel I save the current grid state into a session variable and the button just loads it. Naturally, it hides the columns which the user showed manually via the
checkBoxes (or shows the manually hidden ones). However, it doesn't check/uncheck the corresponding
checkBoxes which then looks a little odd..
04 Sep '13, 10:38