SMART datagrid v.1 > Classes > TreeDataSet
It returns the value of row which has been specified by row as JSON object of which field names specified by props are property.
    var row = tree.focusedRow();
    if (row) {
        row = ds.getRowProps(row.dataRow(), ['company', 'qty']);
        row && console.log(row);
    }
    var row = tree.focusedRow();
    if (row) {
        // Replace the value of undefined field with 0.
        row = ds.getRowProps(row.dataRow(), ['qty', 'amount'], 0);
        row && console.log(row);
    }
    var row = tree.focusedRow();
    if (row) {
        // Replace the value of undefined fields with the corresponding property value of JSON object.
        row = ds.getRowProps(row.dataRow(), ['company', 'qty'], {
            company: 'n/a',
            qty: 0
        });
        row && console.log(row);
    }