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(): ZCatalystRow

A sample code snippet is shown below:


    
copy
val rowInstance = ZCatalystApp.getInstance().getDataStoreInstance().getTableInstance("EmployeeDetails").newRow() //Replace this with your table name

Last Updated 2023-09-03 01:06:41 +0530 +0530

ON THIS PAGE