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
2235
why doesn't the + button on the grid not add a row?
posted

I have row adding turned on.

And a "+" button/label on the datagrid, however when I exit the row, it is not added to the collection.

The rowadding event does not fire on the server side.

 

 

Parents
No Data
Reply
  • 33839
    Verified Answer
    posted

    Hi Daryl007,

    The '+' you refer to is in the row selector.  Row Adding behavior only commits when hitting enter while in edit mode on the row or pressing tab off the last cell.  You could attach a client event to that row selector click and have it commit the add row.

    grid.get_behaviors().get_editingCore().get_behaviors().get_rowAdding()._commitRow();

    regards,
    David Young 

Children