Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
1 つの行の編集中にエディターを移動したくありません。目的のために clicksToMoveEditor プロパティを 10 に設定しましたが、それでもエディターを移動できます。
ExtJS 4.2 でこの目標を達成するにはどうすればよいですか?
startEdit 関数をオーバーライドして、エディターが現在編集中でない場合にのみ機能するようにします。
Ext.define('CustomRowEditor',{ extend: 'Ext.grid.plugin.RowEditing', startEdit: function(){ if(!this.editing){ this.callParent(arguments); } } });