PDA

View Full Version : Locked Column - Grid - subGridXType



fily55
13 Apr 2016, 9:06 AM
Hi there,

I would like to change the subGridXType of locked grids in my code. So I have a grid with locked columns. I want the locked grids to be a different xtype.
Does anyone know how to go about this?

This is a config in a mixin (Ext.grid.locking.Lockable) that grid inherits. So how can I change the config of this mixin?

Gary Schlosberg
13 Apr 2016, 11:00 AM
Are you talking about a wanting different xtype for the locked side of a grid (which is a locked grid itself)?

fily55
14 Apr 2016, 12:18 AM
Yes. So when I create a grid with locked columns, it creates two sub grids. Locked and normal. I want the change the xtype of these (locked one mainly).

fily55
14 Apr 2016, 5:31 AM
Thanks for the help but I finally figured this out. Set a config called subGridXType in grids and you're good to go.