I use Infragistics WebDataGrid 14.1.20141.2283.
With following Behaviors
<Behaviors> <ig:CellEditing> <ColumnSettings> <ig:EditingColumnSetting ColumnKey="ID" ReadOnly="True" /> </ColumnSettings> <EditModeActions MouseClick="Double" EnableOnActive="true" /> </ig:CellEditing> <ig:RowAdding> <ColumnSettings> <ig:RowAddingColumnSetting ColumnKey="ID" ReadOnly="True" /> </ColumnSettings> <EditModeActions MouseClick="Single" EnableOnActive="true" /> </ig:RowAdding> <ig:RowDeleting Enabled="True"> </ig:RowDeleting></Behaviors>
In the Webform, I use an Image-Button for saving the changes to database, which are made in the grid.
My issue: the customer clicks after entering data in the AddNewRow the external "save" button without previously pressed "enter" to confirm the new row.
Is there any way to commit an AddNewRow via JavaScript?
Hello DDM,
Please let me know if you have any other questions or concerns about this issue and I'll be glad to help you.
Thank you for posting in our forums!
This issue is discussed in this forum thread and the javascript code provided by Dave will commit the new row to the grid.
If you need further assistance with this, please let me know.