andap
3 Apr 2012, 3:38 AM
Hello all,
I am working with some hidden columns in my Grid:
column.setHidden(true) and I don't want them to be available to be chosen in the Grid column header menu where you can select which ones to display/hide. Is there a way to do this ?
I believe the decision which ones to be displayed is done in the GridView method
protected Menu createContextMenu(final int colIndex) or am I wrong? Could anyone suggest how to override this method maybe to obtain the result I am looking for?
I have attached a picture to better explain what I mean: so, the hidden ones should not appear in the highlighted menu.
Thanks in advance,
Anda
I am working with some hidden columns in my Grid:
column.setHidden(true) and I don't want them to be available to be chosen in the Grid column header menu where you can select which ones to display/hide. Is there a way to do this ?
I believe the decision which ones to be displayed is done in the GridView method
protected Menu createContextMenu(final int colIndex) or am I wrong? Could anyone suggest how to override this method maybe to obtain the result I am looking for?
I have attached a picture to better explain what I mean: so, the hidden ones should not appear in the highlighted menu.
Thanks in advance,
Anda