Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1210
How to allow add when TemplateAddRow is not modified
posted

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

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    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.  

Children