PDA

View Full Version : Can we freeze colums in the GXT grid? (Like excel)



skmd
8 Dec 2011, 7:47 AM
Hi,

We are having a requirement, to freeze certain column in GXT grid., so that horizontal scrollings does not scroll these frozen columns. Does GXT provide us this feature?

Please let me know.

Thanks,
Sunil

A.Rothe
12 Dec 2011, 11:23 PM
I'm not an expert in GXT, but I would try to use BorderLayout with a grid in region EAST and one grid in region CENTER. If you don't have "freezed" columns, you can collapse EAST. If you have freezed columns, you should create these columns within EAST (use a special column model) and remove the columns within CENTER. If you also use the same store, it should be possible to have consistent data models.

A.Rothe

bobpardoe
21 Dec 2011, 7:17 AM
I asked the same in the premium support forum and the answer is no. There are some classes that need to be overriden to do it but the reply was very sparse in terms of how to achieve this.

BOb