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
475
New Grid Rows
posted

How do I detect that a row from the add template is being committed to the grid?

When a user adds a new row via the add row template how can I detect this and in turn insert the row as new in my database

  • 71886
    Offline posted

    Hello wltaylor,

    I am checking about the progress of this issue. Please let me know If you need any further assistance on this.

  • 469350
    Offline posted

    Actually.. BeforeRowInsert fires as soon as the user begins typing in the row. If you are looking for when the row is committed, then you should use Before/AfterRowUpdate. This event fires both for newly-added rows and existing (edited) rows, but you can tell the difference by examining the row.IsAddRow property.

  • 71886
    Offline posted

    Hello,

    The AddRow becomes an UltraGridRow the moment you click in it, so the event you should probably be going for could be the 'BeforeRowInsert'.

    Please do not hesitate to contact us if you need any additional assistance.