Get values, set values and other methods

Example:

$.row1.c_getValue(1); // get value of field number 1 in the row with the id "row1"
$.row1.c_getValue(2); // get value of field number 2 in the row with the id "row1"
$.row1.c_setValue(1, "john"); // set value "john" to field number 1 in the row with the id "row1"

 

$.<row id>.c_getValue(number) get the vlaue of the field number number section_fieldgroup with the id <row id>.

$.<row id>.c_setValue(number, value) set a value to a field

$.<row id>.c_getField(number) get the Titanium View object for a field.

$.<row id>.c_setMode(number, m) set read or edit mode to one field or all fields of a section_fieldgroup. Use as number to set mode to all fields. Use “read” or “edit” as mode.

$.<row id>.c_setLabel(number, text) set text to a label.

$.<row id>.c_validate(number) run all validators for a field. Returns true if validation was ok, false if validation failed.

$.<row id>.c_validateAll() run all validators for all fields in this section_fieldgroup.