SMART datagrid v.1 > Classes > TreeView
It returns Data Rows which have been contained in the current selection areas as array.
When the selection area is more than one, if specify uniquify as true, it will remove duplicated rows and return in sorted state.
$('#deleteSelected').click(function (ev) {
var rows = grid.getSelectedDataRows(true);
dataset.deleteRows(rows);
});