Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Hide ListGridField from DataSource

$
0
0
smartgwt: 4.1-p20140908

Hi,

I am hidding some columns from a ListGrid by setting the hidden attribute to true in a DataSource:

Code:

<field ... hidden="true"></field>
These columns are not shown in the grid (this is OK) on start up. The problem is that these columns are not more in the context menu from the header grid, so I can not showing them again.

There is a way to initialize a set of columns as hidden from datasource and to show them again from context menu?

I have also tried to set these properties in my ListGrid:
Code:


grid.setCanPickOmittedFields(true);
grid.setCanPickFields(true);
grid.setUseAllDataSourceFields(true);

Thank you in advance!

Viewing all articles
Browse latest Browse all 4756

Trending Articles