Our client has a particular request for the grid. The grid has existing rows in readonly mode that go into edit mode only when they click on the rows and in addition they want to have about 5 empty rows in edit mode already at the bottom of the grid. I have multiple row edit turned on and only set the edit mode for the 5 rows to true. This is working fine and I also have the readonly rows mode going into edit mode on click working.
The problem is with the blank rows in the bottom. When the user fills in the data for one of these empty rows and moves to the next blank row which is already in edit mode, I need to commit the changes to the first edit row and set that row to read-only and add another blank edit row to keep the count of blank rows to 5 at all times. When the user moves from one edit row to another (which can be by clicking on a edit control in a cell), how do I track that on the client and fire an event to the server so that I can commit the changes for that row, turn off the edit flag and rebind. Please help.
The problem is with the blank rows in the bottom. When the user fills in the data for one of these empty rows and moves to the next blank row which is already in edit mode, I need to commit the changes to the first edit row and set that row to read-only and add another blank edit row to keep the count of blank rows to 5 at all times. When the user moves from one edit row to another (which can be by clicking on a edit control in a cell), how do I track that on the client and fire an event to the server so that I can commit the changes for that row, turn off the edit flag and rebind. Please help.