-1

My project was in ExtJS 4, now I have upgraded it to ExtJS 6. But I have a problem in row editing. Can someone tell about the link where row editing is done in ExtJS 6. Due to upgrade to ExtJS 6, the row editing is not working.

Rohit Sharma
  • 1,402
  • 9
  • 20
PK1609
  • 1
  • 4

1 Answers1

2

Please go through following steps :-

Step 1. Add requires in your grid:

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

Step 2. In your grid, you need to use the following code:

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 } } }]

Hope it will help/guide you.

Rohit Sharma
  • 1,402
  • 9
  • 20