PDA

View Full Version : Editable Grid with Dynamicaly loading Combo



shanika
24 Mar 2010, 8:16 PM
Hi All,
I need to add a combo to a editable Grid panel.But this combo should be loaded dynamically according to a value in the row.and for some values this combo should be disable.
Can Somebody help me with this Please ?:s

shanika

fay
25 Mar 2010, 4:10 AM
Search the forums for beforeedit combo and you'll find several examples of how to do this:



http://www.extjs.com/forum/showthread.php?t=90395

http://www.extjs.com/forum/showthread.php?t=66310


See also: beforeedit (http://www.extjs.com/deploy/dev/docs/?class=Ext.grid.EditorGridPanel&member=beforeedit)

Condor
25 Mar 2010, 4:45 AM
And to answer your second question:
You can write an isCellEditable method that returns false when a field should not be editable.

shanika
25 Mar 2010, 11:36 PM
Thankx guys !
the answers are perfect :)