PDA

View Full Version : GridPanel : columns hidden always showed in menu



rolfext
29 Oct 2009, 2:40 AM
Hi,
i have a Ext.grid.GridPanel with some invisible columns.
I need them in my record on a listeners event.

I dont want to show the invisible columns in the dropdown click menu "Columns" on header, but the check box related to them is always visible... :((

How can I get it?
thanks!

Condor
29 Oct 2009, 2:47 AM
Why are you creating columns for fields you will never show?

A grid doesn't have to contain a column for every field in the record.

rolfext
29 Oct 2009, 2:54 AM
Hi,I need the values to manage the record... I build it dynamically and this way is mandatory... /:)

Animal
29 Oct 2009, 2:57 AM
Configure them hideable: false

Then they won't get included in the UI's hide/show menu.

rolfext
29 Oct 2009, 4:14 AM
it's OK!

"hideable: false" works perfectly !!!

=D>

Many Thanks!