[Datagrid] How to add an empty row

Hi


I want to use a button to add an empty row in the datagrid instead of the context menu item(insert 1 Blank Row(s)). Is there any way can do it?




Best Regards




You need a variable that is an Empty Row Record 

Insert it in the source list in the position you want

Refresh the table

Hayate wrote:

Hi


I want to use a button to add an empty row in the datagrid instead of the context menu item(insert 1 Blank Row(s)). Is there any way can do it?




Best Regards




Hi Hayate,

I have tried and got it.

    1. Add button

    2. In Ok action, RunJavaScript call add new rows function


Regards.