ods-component-lib 1.18.59 → 1.18.60
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 +0 -10
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +0 -10
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -16462,16 +16462,6 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
|
16462
16462
|
}, [(_props$axiosRequest3 = props.axiosRequest) === null || _props$axiosRequest3 === void 0 ? void 0 : _props$axiosRequest3.requestData, (_props$axiosRequest4 = props.axiosRequest) === null || _props$axiosRequest4 === void 0 ? void 0 : _props$axiosRequest4.apiUrl, (_props$axiosRequest5 = props.axiosRequest) === null || _props$axiosRequest5 === void 0 ? void 0 : _props$axiosRequest5.environmentUrl, (_props$axiosRequest6 = props.axiosRequest) === null || _props$axiosRequest6 === void 0 ? void 0 : _props$axiosRequest6.requestQueryString, (_props$axiosRequest7 = props.axiosRequest) === null || _props$axiosRequest7 === void 0 ? void 0 : _props$axiosRequest7.requestType, props.pageSize, props.isServerSide]);
|
|
16463
16463
|
var onEditorPreparing = useCallback(function (e) {
|
|
16464
16464
|
if (e.row !== undefined && e.parentType === 'dataRow') {
|
|
16465
|
-
if (props.isServerSide) {
|
|
16466
|
-
var disableScrolling = function disableScrolling() {
|
|
16467
|
-
gridRef.current.instance.option('scrolling.mode', 'none');
|
|
16468
|
-
};
|
|
16469
|
-
var enableScrolling = function enableScrolling() {
|
|
16470
|
-
gridRef.current.instance.option('scrolling.mode', 'virtual');
|
|
16471
|
-
};
|
|
16472
|
-
e.editorOptions.onFocusIn = disableScrolling;
|
|
16473
|
-
e.editorOptions.onFocusOut = enableScrolling;
|
|
16474
|
-
}
|
|
16475
16465
|
if (props.handleEditorPreparing) {
|
|
16476
16466
|
props.handleEditorPreparing(e);
|
|
16477
16467
|
}
|