I have a RowEditingTemplate that is being used to edit the row. How can I use the same templte to add a row?
I've checked http://forums.infragistics.com/forums/p/60144/305361.aspx#305361 but that solution requires commiting the record first.
I need to display the RowEditingTemplate when the user wants to add new row and based on OK buttion of the RowEditingTemplate commit the record.
Hi akhavany,
Thank you for posting in the community.
I am attaching a sample demonstrating how the Row editing template may be used for adding new rows in the grid by handling the template closed event of the template along with displaying the RET upon clicking on the AddRow selector. Below is the relevant javascript code used:
Please let me know if this helps.
Thank you very much. Works perfectly.
On a separate note, it seems most of the older sample links in Infragistics.com are broken.
For example
https://es.infragistics.com/samples/aspnet/data-grid/dropdown-editors
Whishc is refered to in:
http://community.infragistics.com/forums/p/43644/265048.aspx