How to focus on editable textfield when checkbox is checked in ExtJS Grid?

試著忘記壹切 提交于 2019-12-06 16:07:49

With the help of listener(use edit event), if it has been checked, get the reference of record and apply focus() method.

Refer below link for reference.

http://docs.sencha.com/extjs/4.0.7/#!/api/Ext.grid.plugin.CellEditing-event-edit

see the edit event in the above link.

Thanks

I solved this as follows:

  checkchange : function( CheckColumn, rowIndex, checked, eOpts ){

         //me.getPlugin('cellplugin').startEdit(record,1);     
         me.getPlugin('cellplugin').startEditByPosition({row: rowIndex, column: 1});        

   }}

This worked.... Hariharan thanks for your answer!!

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!