SMART datagrid v.1 > Classes > TreeDataRow
It returns field values of data row as JSON object which has the field name as properties.
getValues is returns as array.
treeMain.onCurrentChanged = function (tree, newIndex) {
var row = newIndex.getRow();
if (row) {
var dataRow = row.dataRow();
if (dataRow) {
var r = dataRow.getObject();
$('#name').val(r["name"]);
}
}
}