ods-component-lib 1.18.117 → 1.18.118
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 +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -7
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -33859,10 +33859,11 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
|
|
|
33859
33859
|
};
|
|
33860
33860
|
}, [data]);
|
|
33861
33861
|
var onCustomSelectionChanged = React.useCallback(function (e) {
|
|
33862
|
-
|
|
33863
|
-
|
|
33864
|
-
|
|
33865
|
-
|
|
33862
|
+
var selectedRows = gridRef.current.instance.getSelectedRowsData();
|
|
33863
|
+
setRowCount(selectedRows.length);
|
|
33864
|
+
if (props.onSelectionChanged) {
|
|
33865
|
+
props.onSelectionChanged(e);
|
|
33866
|
+
}
|
|
33866
33867
|
}, []);
|
|
33867
33868
|
var checkSortingPropertyForInitilaize = function checkSortingPropertyForInitilaize() {
|
|
33868
33869
|
var onOptionChanged = props.onOptionChanged;
|
|
@@ -34386,9 +34387,8 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
|
|
|
34386
34387
|
var dataGridInstance = e.component;
|
|
34387
34388
|
var filteredDataCount = dataGridInstance.totalCount();
|
|
34388
34389
|
if (gridRef.current && gridRef.current.instance) {
|
|
34389
|
-
gridRef.current.instance.getSelectedRowsData()
|
|
34390
|
-
|
|
34391
|
-
});
|
|
34390
|
+
var selectedRows = gridRef.current.instance.getSelectedRowsData();
|
|
34391
|
+
setRowCount(selectedRows.length);
|
|
34392
34392
|
}
|
|
34393
34393
|
if (filterApplied.current && filteredDataCount > 0) {
|
|
34394
34394
|
setFilteredRowCount(filteredDataCount);
|