View Full Version : StateSave in Grids / ColumnIds

16 Nov 2009, 6:44 AM
i just migrated from Ext2 => Ext3 but i have a Problem with the stateProvider.
The User can save the GridState. I dont have predifined Ids in Columns so Ext2 gives the Ids automatically from 0...n for each grid.
In Ext3 the GridColumn Ids where given by "something" global.(ComponentManager ?).
So if render a (the same grid) grid twice ... the columns of it will have other columnIds than the grid before.

In my Applicationcase i have a grid Prototype which shows a list of a category. The user can have "n" Lists at once (for each selected category in a tabview). If the user changes the gridState (moves/hides Columns ie.) He expects that the change is for every Grid of this type.

So the question is can i predefine the ids of the columns even if i show the grid more than onnce - without having other sideEffects?

16 Nov 2009, 8:04 AM
i tried - but it seems to be that the second instance of a grid produces strangeOutput.