ods-component-lib 1.18.140 → 1.18.141

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 CHANGED
@@ -33586,32 +33586,6 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
33586
33586
  React.useEffect(function () {
33587
33587
  if (contentReady) checkSortingPropertyForInitilaize();
33588
33588
  }, [contentReady]);
33589
- React.useEffect(function () {
33590
- var cssRules = "\n .data-exists .dx-datagrid-borders > .dx-datagrid-filter-panel,\n .data-exists .dx-datagrid-borders > .dx-datagrid-headers {\n border-top: 1px solid rgba(0, 0, 0, 0.06);\n padding-right: 0px !important;\n }\n\n .data-exists .dx-datagrid-headers .dx-datagrid-content {\n margin-bottom: -1px;\n padding-right: 17px !important;\n }\n ";
33591
- var styleSheet = document.createElement("style");
33592
- styleSheet.type = "text/css";
33593
- styleSheet.innerText = cssRules;
33594
- document.head.appendChild(styleSheet);
33595
- var checkData = function checkData() {
33596
- if (gridRef.current) {
33597
- var _dataGridInstance = gridRef.current.instance;
33598
- var dataExists = data.length >= 15;
33599
- var gridElement = _dataGridInstance.element();
33600
- if (dataExists) {
33601
- gridElement.classList.add("data-exists");
33602
- } else {
33603
- gridElement.classList.remove("data-exists");
33604
- }
33605
- }
33606
- };
33607
- var dataGridInstance = gridRef.current.instance;
33608
- dataGridInstance.on("dataChanged", checkData);
33609
- checkData();
33610
- return function () {
33611
- document.head.removeChild(styleSheet);
33612
- dataGridInstance.off("dataChanged", checkData);
33613
- };
33614
- }, [data]);
33615
33589
  var onCustomSelectionChanged = React.useCallback(function (e) {
33616
33590
  if (props.onSelectionChanged) {
33617
33591
  props.onSelectionChanged(e);
@@ -34176,9 +34150,6 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
34176
34150
  columnResizingMode: (_props$columnResizing = props.columnResizingMode) != null ? _props$columnResizing : "widget",
34177
34151
  showRowLines: true,
34178
34152
  allowColumnReordering: true,
34179
- scrolling: {
34180
- useNative: true
34181
- },
34182
34153
  remoteOperations: false,
34183
34154
  paging: {
34184
34155
  enabled: false