Hello,
I Have a similar problem,
I use the column chooser in order to allow the user to show/hide/reorder columns.
But the thing is, when the user hides a column using the column chooser, and then uses it again to show the same column, I want this column to get back to its original position.
Presently, the column is put at the end of all the columns shown in the grid.
I could always use the column chooser's “done” fonction to reorder the columns as is the colmodel when showing columns (the columns order in this one is not modified when just hiding a few columns), but the user will not be able to reorder columns anymore, only show/hide them.
In clear, is there a way to use the column chooser in order to show/hide/reorder columns, but being sure that a column that is hiden then shown us put back to its anterior position before being hiden?
Thanks.