PDA

View Full Version : LockingGridView - LockingColumnModel - dynamic number of columns



Peter.Mckelvey
16 May 2010, 6:29 PM
Hello,
I have a situation where i need to implement a locking gridview.
I have had a look at the example provided but cant figure out how to implement a variable number of columns at runtime.
My existing aspx page reads from a database and dynamicaly creates a new a table column for each date found in the database, then binds the dynamic table to a aspx gridview. So each unique date becomes a column header and the result data is populated in row for the relevant date/column.

I need to do this using the locking gridview approach and was wonding has anyone done a dynamic number of columns when creating ext.ux.grid.LockingColumnModel ?

thanks

keerus
8 Jul 2011, 2:36 PM
Hi,

I would like to know if there is any solution to make DynamicColumnModel to use LockingColumnModel.

My columns are dynamic from server and I could able to work wiht DynamicColumnModel.Another requirement on this is I should able to Lock the columns.

Can someone give me an example for this.

Thank you