Help for EditorGridPanel editing question

42 views
Skip to first unread message

neo

unread,
Jan 22, 2015, 8:30:14 PM1/22/15
to net...@googlegroups.com
Hi,

      Can any one help,
      The column set option of editor.
      How do i determine to set the cell not edit if value of cell equal 'M' in EditorGridPanel ?
                                                 
Thanks.

neo

unread,
Jan 23, 2015, 4:41:02 AM1/23/15
to net...@googlegroups.com
Sorry for my bad english...

I saved my problem use celldblclick of event in Ext.Grid.Panel,
I get column's dataIndex and selected row's data,
and determine to condition like :
if true 
 return true;
else 
 return false;

true can edit cell ,false can edit cell.

neo於 2015年1月23日星期五 UTC+8上午9時30分14秒寫道:

Adler Lin

unread,
Mar 12, 2015, 5:34:25 AM3/12/15
to net...@googlegroups.com

celldblclickthis, td, cellIndex, record, tr, rowIndex, e, eOpts )

通过cellIndex 可以找到dataIndex名称, 再通过rocord就可以获取到值了,如果不编辑的话直接return false就好,

建议直接上源码,比用文字说明来得快。。。。

SergeyV

unread,
Mar 13, 2015, 7:16:30 AM3/13/15
to net...@googlegroups.com
Hi!

Guys, can we use English? In this case everyone can understand you.

S.
Reply all
Reply to author
Forward
0 new messages