SMART datagrid v.1 > Classes > GridDataSet

Back  Forward

DataLudi.GridDataSet.onRowsDeleted  event

在删除包含在rows参数的数据行之后,将会触发这个事件。 

在触发这个事件之后,将会触发onRowCountChanged事件。 而且,在删除之前,将会触发onRowsDeleting事件。 

function onRowsDeleted (ds: GridDataSet, rows: [Integer]);
Returns
Void
Parameters
ds - GridDataSet.
数据组。
rows - [Integer].
已被删除的行号数组。
Code -1
    dataset.onRowsDeleted = function (ds, rows) { 
        alert(rows.length + " 个行已被删除。");
    }
See Also
onRowCountChanged
onRowsDeleting
Examples
网格数据组编辑