ods-component-lib 1.13.15 → 1.14.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 +8 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +8 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +6 -7
package/dist/index.modern.js
CHANGED
|
@@ -1470,9 +1470,12 @@ function OdsProfDataGrid(props) {
|
|
|
1470
1470
|
var _useState2 = useState(true),
|
|
1471
1471
|
enablePaging = _useState2[0],
|
|
1472
1472
|
setEnablePaging = _useState2[1];
|
|
1473
|
-
var _useState3 = useState(
|
|
1474
|
-
|
|
1475
|
-
|
|
1473
|
+
var _useState3 = useState('standard'),
|
|
1474
|
+
scrollingType = _useState3[0],
|
|
1475
|
+
setScrollingType = _useState3[1];
|
|
1476
|
+
var _useState4 = useState(true),
|
|
1477
|
+
loadPanelEnabled = _useState4[0],
|
|
1478
|
+
setLoadPanelEnabled = _useState4[1];
|
|
1476
1479
|
var dataGridRef = useRef(null);
|
|
1477
1480
|
var headerCellRender = function headerCellRender(colProperties) {
|
|
1478
1481
|
return React.createElement("th", {
|
|
@@ -1510,6 +1513,7 @@ function OdsProfDataGrid(props) {
|
|
|
1510
1513
|
refreshGrid();
|
|
1511
1514
|
};
|
|
1512
1515
|
var handleScrollingTypeChange = function handleScrollingTypeChange(newScrollingType) {
|
|
1516
|
+
setScrollingType(newScrollingType);
|
|
1513
1517
|
console.log(newScrollingType);
|
|
1514
1518
|
debugger;
|
|
1515
1519
|
refreshGrid();
|
|
@@ -1680,7 +1684,7 @@ function OdsProfDataGrid(props) {
|
|
|
1680
1684
|
})), React.createElement(Item$1, {
|
|
1681
1685
|
location: "after"
|
|
1682
1686
|
}, React.createElement(Lookup, {
|
|
1683
|
-
value:
|
|
1687
|
+
value: scrollingType,
|
|
1684
1688
|
dataSource: [{
|
|
1685
1689
|
value: "standard",
|
|
1686
1690
|
label: "standard"
|