deleteSelectedRows method

void deleteSelectedRows()

Implementation

void deleteSelectedRows() {
  for (int i = data.length - 1; i >= 0; i--) {
    if (data[i].selected) {
      deleteRow(i);
    }
  }
}