SMART datagrid v.1 > Classes > GridDataSet
Delete all rows of data set and fire onRefresh, onRowCountChanged events in order.
If rowCount is 0, it will do nothing.
ds.onRowCountChanged = function (ds) {
$('#txtCount').val(ds.rowCount());
};
ds.clearRows();