SMART datagrid v.1 > Classes > DataField
The location of this field within DataSet.
If not contained in data set, it will return -1. When approach the field value of data set, it will use this location value.
Defaults to -1.
var field = dataSet.getFieldIndexEx('field1');
if (field && field.index() >= 0) {
$('#value')[0].value = dataSet.getValue(0, field.index());
}