火“后遗”在ExtJS网格中编辑整行后? [英] Fire "afteredit" after edit the entire row in ExtJS grid?
问题描述
如何在完成修改所有单元格之前保持该事件不会触发?或者你可以建议另一种方式来做到这一点,而不是使用afteredit事件?
非常感谢你。
你可以看看 Ext.ux。 grid.RowEditor
。它有一个 afteredit
事件,当行完成编辑时触发。
您可以找到工作示例 http://dev.sencha.com/deploy/dev/examples /grid/row-editor.html
I have an ExtJS editor grid which has some columns inside. I want to modify data on a record and auto save data to DB. But I just need save data after I complete editing all cells at the current row. I've used the event "afteredit" but it fired the event right after one cell was changed. How can I keep that event not to fire until I've completed modifying all cells? Or could you please suggest another way to do this, not use the "afteredit" event? Thank you so much.
You might take a look at Ext.ux.grid.RowEditor
. It has an afteredit
event that fires when the row is done being edited.
You can find the working example at http://dev.sencha.com/deploy/dev/examples/grid/row-editor.html
这篇关于火“后遗”在ExtJS网格中编辑整行后?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!