@linzjs/step-ag-grid 2.0.1 → 2.1.0

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.
@@ -12,7 +12,6 @@ export interface GridProps {
12
12
  domLayout?: GridOptions["domLayout"];
13
13
  externalSelectedItems?: any[];
14
14
  setExternalSelectedItems?: (items: any[]) => void;
15
- onGridReady?: GridOptions["onGridReady"];
16
15
  defaultColDef?: GridOptions["defaultColDef"];
17
16
  columnDefs: GridOptions["columnDefs"];
18
17
  rowData: GridOptions["rowData"];
@@ -2413,10 +2413,9 @@ var Grid = function (params) {
2413
2413
  }, [clickSelectorCheckboxWhenContainingCellClicked, params.columnDefs, params.selectable]);
2414
2414
  var onGridReady = useCallback(function (event) {
2415
2415
  setGridApi(event.api);
2416
- params.onGridReady && params.onGridReady(event);
2417
2416
  synchroniseExternallySelectedItemsToGrid();
2418
2417
  updateQuickFilter();
2419
- }, [params, setGridApi, synchroniseExternallySelectedItemsToGrid, updateQuickFilter]);
2418
+ }, [setGridApi, synchroniseExternallySelectedItemsToGrid, updateQuickFilter]);
2420
2419
  var noRowsOverlayComponent = useCallback(function () { var _a; return jsx("span", { children: (_a = params.noRowsOverlayText) !== null && _a !== void 0 ? _a : "There are currently no rows" }); }, [params.noRowsOverlayText]);
2421
2420
  var refreshSelectedRows = useCallback(function (event) {
2422
2421
  // Force-refresh all selected rows to re-run class function, to update selection highlighting