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
813
How to add new row in javascript without having add row template.
posted

Hi,

How can I add new row. I do not want to use Datagrid's inbuilt functionality of add new row template.

I found that in Javascript I can get rows by grid.get_rows() which is having a add() function but somehow its not adding any new rows in my grid.

Parents
  • 14049
    Offline posted
    Hi Anand,
    To use that method the EditingCore behavior must be present in the grid.
    All of the adding logic is in that behavior, so you can simply add it
    without the RowAdding behavior and use JavaScript to add new rows.
Reply Children