Functions
# Create / Edit / Clone Pages Detail Page (Canvas) Detail Page (Standard)
getValue() → {String|Object}
Get the value of cell in a SubformRow
Cell value
Examples
SampleCopycopied
ZDK.Page.getSubform('CFSubform').getRow(1).getCell('Name').getValue();
Output
Zylker
# Create / Edit / Clone Pages Detail Page (Canvas) Detail Page (Standard)
setValue(value)
Set the value of cell in a SubformRow
Parameters:
Name | Type | Description |
---|---|---|
value |
String | Number | Boolean | Object | Value for the field |
Examples
SampleCopycopied
ZDK.Page.getSubform('CFSubform').getRow(1).getCell('Name').setValue('Zylker');
Output
Zylker
# Create / Edit / Clone Pages Detail Page (Canvas) Detail Page (Standard)
setReadOnly(value)
Set the readonly attribute of a subform cell
Parameters:
Name | Type | Description |
---|---|---|
value |
Boolean | readonly property (true|false) |
Example
SampleCopycopied
var cell_obj = ZDK.Page.getSubform('Quoted_Items').getRow(0).getCell('List_Price');
cell_obj.setReadOnly(true);
# Create / Edit / Clone Pages Detail Page (Canvas) Detail Page (Standard)
showError(message)
Show inline error message for a Subform Cell
Parameters:
Name | Type | Description |
---|---|---|
message |
String | Text to be displayed |
Example
SampleCopycopied
var cell_obj = ZDK.Page.getSubform('Quoted_Items').getRow(0).getCell('List_Price');
cell_obj.showError('List Price cannot be zero');