Hello,
We use the TemplateAdd row in our grids. When the user enters the TemplateAddRow, we preset some values in the row. In some instances, all cells are preset and therefore the user should be able to press enter to save the row. However, this will not work except the user types something, and the row moves from being TemplateAddRow to being UnmodifiedTemplateAddRow.
I can detect this in key down and force the update, but there are number of issues with that.
Is there any way that I could push the TemplateAddRow to become UnmodifiedTemplateAddRow, when it's activated?
Thank you,
Trausti
Hi Trausti,
There's a property on the Rows collection called AddRowModifiedByUser. Setting this to true should let the grid know that the row should be treated as though the user made an edit.
Thanks Mike, that helped.