Aug 11, 2014, 8:56 AM
[CLOSED] Gridpanel columns move with locked = true
Hi,
on loading page I need to move column programmatically.
The code that I use is this
all work fine, but if in my page there is one or more columns with Locked="True"
I get this error
You have to set widget's ID to call its methods (widget - Ext.Net.GridHeaderContainer)
System.Exception: You have to set widget's ID to call its methods (widget - Ext.Net.GridHeaderContainer)
The problem occours every time that I move a locked column or a non locked column.
Is there a smart solution?
I've tryed to set all columns to Locked="False", move, and reset it to Locked="True" but the new error is this
Uncaught TypeError: Cannot read property 'move' of undefined
Thanks in advance
Polo
on loading page I need to move column programmatically.
The code that I use is this
grid.ColumnModel.Move(0, 10)
(move columns with index 0 to position 10)all work fine, but if in my page there is one or more columns with Locked="True"
I get this error
You have to set widget's ID to call its methods (widget - Ext.Net.GridHeaderContainer)
System.Exception: You have to set widget's ID to call its methods (widget - Ext.Net.GridHeaderContainer)
The problem occours every time that I move a locked column or a non locked column.
Is there a smart solution?
I've tryed to set all columns to Locked="False", move, and reset it to Locked="True" but the new error is this
Uncaught TypeError: Cannot read property 'move' of undefined
Thanks in advance
Polo
Last edited by Daniil; Aug 12, 2014 at 3:26 PM.
Reason: [CLOSED]