Inline datagrid rowcreate

I am trying to insert a default value when I add a new row to an inline datagrid. the C# code i am inserting is ${kpi.KPI_StoreNo}=4675; which works when I use it in a CRUD form. I have tried inserting this code in several areas, but can't seem to find the right place to trigger it. Any help would be appreciated.

You can set the properties of the new item like this:

ordersGrid.InsertRow(new Order { KPI_StoreNo = 4675 });

Perfect! Thank you worked exactly like I needed!