jsl-ui 9.26.7 → 9.26.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5245,13 +5245,15 @@ export function SlickGrid(container, data, columns, options) {
5245
5245
  }
5246
5246
  function getSelectedRows() {
5247
5247
  if (!selectionModel) {
5248
- throw new Error("Selection model is not set");
5248
+ // throw new Error("Selection model is not set");
5249
+ return [];
5249
5250
  }
5250
5251
  return selectedRows;
5251
5252
  }
5252
5253
  function setSelectedRows(rows) {
5253
5254
  if (!selectionModel) {
5254
- throw new Error("Selection model is not set");
5255
+ // throw new Error("Selection model is not set");
5256
+ return;
5255
5257
  }
5256
5258
  // if (self && self.getEditorLock && !self.getEditorLock().isActive()) {
5257
5259
  selectionModel.setSelectedRanges(rowsToRanges(rows));