Result is the datatable returned from the server.
VaR oldrow = result. getrow (0); // gets the row object of row 0 in the datatable.
VaR VV = oldrow. getproperty ("mkbm"); // obtain the value of the field name "mkbm" in the row.
VaR vv1 = oldrow. getproperty ("mkmc"); // obtain the value of the field name "mkmc" in the row.
VaR oldrow1 = result. getrow (1); // gets the row object of Row 1 in the able.
VaR newrow = result. Add ({}); // Add a row
Newrow. setproperty ("mkbm", 112233); // assign a value to the field with the field name "mkbm" in the new row. The value is 112233.
Newrow. setproperty ("mkmc", "Mc"); // assign a value to a field named "mkmc" in the newly added row with the value MC
VaR VV = newrow. getproperty ("mkbm"); // obtain the value of the field name "mkbm" in the row.
// create a able table
VaR _ TABLE = new sys. data. datatable ([
New sys. data. datacolumn ("title", String, "", false, false),
New sys. data. datacolumn ("listid", String, "", false, false),
New sys. data. datacolumn ("completed", String, "", false, false)
], []);