SMART datagrid v.1 > Classes > TreeDataSet

Back  Forward

DataLudi.TreeDataSet.clearRows  method

删除所有行。 

在删除之后,将会依次触发onRefreshonRowCountChanged事件。 

function clearRows ();
Returns
Void
Code -1
    $('#clearData').click(function () {
        dataset.clearRows();
    });
See Also
DataSet.onRefresh
DataSet.onRowCountChanged
TreeDataRow
树概述
Examples
树数据组
Hello Tree