PDA

View Full Version : EditorGridPanel with LockingColumnModel and LockingGridView



dbrin
22 Feb 2011, 7:46 PM
Has anyone combined EditorGridPanel with LockingGridView successfully? If so please let me know what is the trick to get them to work together :-/

Thanks,
DB.

dbrin
22 Feb 2011, 10:54 PM
I figured out my goof - must include CSS file from ../ux/css/LockingGridView.css .

I still see some intermittent unstable behavior with editors popping out in in the wrong columns especially after the columns get moved around or locked/unlocked. I guess calculating which column is supposed to be where is not easy :( .

I did not find any documentation on LockingGridView (other than source), wondering if anyone knows how to lock the first column only and disable lock/unlock menu?

dbrin
22 Feb 2011, 11:22 PM
OK, I'll just keep answering my own questions :)

To lock the first column (or any column) and disallow users to change which column is locked set enableColLock:false property on the grid - that disables the menu for all columns, and set locked:true on the column you want permanently locked.

softm
27 Sep 2011, 12:06 PM
Am trying make locking in editorgridpanel.
As i understood this need 2 extensions added, to make column model locked as min?

Arsen