Posted 12 April 2020, 2:43 pm EST
In the flexgrid i need to utilize some common tasks:
- all rows have to be in readonly mode
- on user request only selected row going to the edit mode
- user has to confirm saving of edited data
- on confirmation data saved to the database
- on user request add new row
From all provided editing demos Inline Editing covers all tasks but #5.
https://www.grapecity.com/wijmo/demos/Grid/Editing/InlineEditing/purejs
Tried in the demo code to remark isReadOnly: true and add
allowAddNew: true and newRowAtTop: true
New row created but buttons template loaded for edit mode (<div id=“tplBtnEditMode”) instead of view mode (<div id=“tplBtnViewMode”).
After this currentEditItem = null and commitEdit() and cancelEdit() not working.
What is the way to add new row to the grid using Inline Editing?
If allowAddNew not working with Inline Editing, button outside of the grid with ability to add new row with buttons template will works for me.