Create a New Row Instance

You can create a new row instance for a particular table in the Data Store, and enable the methods defined in this class to access the instance object. This prevents unnecessary server calls.

A row instance can be created by calling the newRow() method, as shown in the code syntax below.

The <TABLE_INSTANCE> used here is the instance defined in the Table Instance page.


    
copy
<TABLE_INSTANCE>.newRow()

A sample code snippet is shown below:


    
copy
var row = ZCatalystApp.getInstance() .getDataStoreInstance() .getTableInstance(identifier: 'Products') .newRow();

Last Updated 2024-09-12 18:16:13 +0530 +0530

ON THIS PAGE