@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.
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/src/components/Grid.d.ts +0 -1
- package/dist/step-ag-grid.esm.js +1 -2
- package/dist/step-ag-grid.esm.js.map +1 -1
- package/package.json +10 -1
- package/src/components/Grid.tsx +1 -3
- package/src/stories/components/GridPopoutBearing.stories.tsx +2 -3
- package/src/stories/components/GridPopoutEditDropDown.stories.tsx +2 -3
- package/src/stories/components/GridPopoutEditGeneric.stories.tsx +2 -3
- package/src/stories/components/GridPopoutEditGenericTextArea.stories.tsx +2 -3
- package/src/stories/components/GridPopoutEditMultiSelect.stories.tsx +2 -3
- package/src/stories/components/GridReadOnly.stories.tsx +4 -5
package/dist/index.js
CHANGED
|
@@ -2415,10 +2415,9 @@ var Grid = function (params) {
|
|
|
2415
2415
|
}, [clickSelectorCheckboxWhenContainingCellClicked, params.columnDefs, params.selectable]);
|
|
2416
2416
|
var onGridReady = react.useCallback(function (event) {
|
|
2417
2417
|
setGridApi(event.api);
|
|
2418
|
-
params.onGridReady && params.onGridReady(event);
|
|
2419
2418
|
synchroniseExternallySelectedItemsToGrid();
|
|
2420
2419
|
updateQuickFilter();
|
|
2421
|
-
}, [
|
|
2420
|
+
}, [setGridApi, synchroniseExternallySelectedItemsToGrid, updateQuickFilter]);
|
|
2422
2421
|
var noRowsOverlayComponent = react.useCallback(function () { var _a; return jsxRuntime.jsx("span", { children: (_a = params.noRowsOverlayText) !== null && _a !== void 0 ? _a : "There are currently no rows" }); }, [params.noRowsOverlayText]);
|
|
2423
2422
|
var refreshSelectedRows = react.useCallback(function (event) {
|
|
2424
2423
|
// Force-refresh all selected rows to re-run class function, to update selection highlighting
|