SMART datagrid v.1 > Classes > TreeDataSet

Back  Forward

DataLudi.TreeDataSet.getAllRows  method

It returns all Data Rows which exist in this data set as array. 

The order listed in the returned array is the same as the form when all expand the tree. It can be used when export data set contents in a special way. 

function getAllRows (): Array;
Returns
Array
Code -1
    $('#export').click(function () {
        var rows = dataset.getAllRows();
        if (rows.length > 0) {
            ...
        }
    });
See Also
rowCount
TreeDataRow
Tree Overview
Examples
Tree Data Set
Hello Tree