SFU.getGridValue()
- Last UpdatedJun 25, 2024
- 1 minute read
Use getGridValue() method to get the persisted column values when the check box is selected for the record.
Syntax
aRetVal = SFU.getGridValue(gridControl);
Parameters
|
Parameter |
Description |
|---|---|
|
gridControl |
Grid control. |
Return Value
This method returns an array of objects.
Example
// Get the persisted column values.
var gridControl = control.findById("G1");
var rowData = SFU.getGridValue(gridControl);
control.findById("T3").value = rowData[0].<lookupname>.AddressID;
control.findById("T4").value = rowData[0].<lookupname>.City;
control.findById("T5").value = rowData[0].<lookupname>.PostalCode;
Note: The DateTime column types would contain DateTime values (not String values), when the Use Culture Specific Values property is set to No.