【问题标题】:How to do row editing in ExtJS 6如何在 ExtJS 6 中进行行编辑
【发布时间】:2017-02-07 10:42:37
【问题描述】:

我的项目在ExtJS 4,现在我已经升级到ExtJS 6。但是我在行编辑时遇到了问题。有人能告诉我在ExtJS 6 中完成行编辑的链接吗?由于升级到ExtJS 6,无法进行行编辑。

【问题讨论】:

标签: java extjs extjs6


【解决方案1】:

请执行以下步骤:-

第 1 步。在您的网格中添加 requires

requires: [ 'Ext.grid.plugin.RowEditing' ],

第 2 步。在您的网格中,您需要使用以下代码:

selModel: 'rowmodel', plugins: [{ pluginId: 'your_rowediting_plugin_id', ptype: 'rowediting', listeners: { cancelEdit: function(rowEditing, context) { // your stuff will go here }, edit: function(editor, e) { // your stuff will go here } } }]

希望它能帮助/指导你。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-02-04
    • 2012-03-16
    • 1970-01-01
    • 2011-10-21
    • 1970-01-01
    相关资源
    最近更新 更多