SMART datagrid v.1 > Classes > GridDataSet

Back  Forward

DataLudi.GridDataSet.clearRows  method

データセットのすべての行を削除して、 onRefreshonRowCountChangedイベントが順番に発生する。 rowCountが0なら何もしない。 

function clearRows ();
Returns
Void
Code -1
    ds.onRowCountChanged = function (ds) {
        $('#txtCount').val(ds.rowCount());
    };
    ds.clearRows();
See Also
onRefresh
onRowCountChanged
rowCount
clearRowStates
setRows