ods-component-lib 1.18.58 → 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 +2 -11
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -11
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16467,16 +16467,6 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
|
16467
16467
|
}, [(_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]);
|
|
16468
16468
|
var onEditorPreparing = React.useCallback(function (e) {
|
|
16469
16469
|
if (e.row !== undefined && e.parentType === 'dataRow') {
|
|
16470
|
-
if (props.isServerSide) {
|
|
16471
|
-
var disableScrolling = function disableScrolling() {
|
|
16472
|
-
gridRef.current.instance.option('scrolling.mode', 'none');
|
|
16473
|
-
};
|
|
16474
|
-
var enableScrolling = function enableScrolling() {
|
|
16475
|
-
gridRef.current.instance.option('scrolling.mode', 'virtual');
|
|
16476
|
-
};
|
|
16477
|
-
e.editorOptions.onFocusIn = disableScrolling;
|
|
16478
|
-
e.editorOptions.onFocusOut = enableScrolling;
|
|
16479
|
-
}
|
|
16480
16470
|
if (props.handleEditorPreparing) {
|
|
16481
16471
|
props.handleEditorPreparing(e);
|
|
16482
16472
|
}
|
|
@@ -16701,7 +16691,8 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
|
16701
16691
|
onSaving: props.onSaving,
|
|
16702
16692
|
onEditCanceling: props.onEditCanceling,
|
|
16703
16693
|
onContentReady: handleContentReady,
|
|
16704
|
-
onFilterValueChange: onFilterValueChange
|
|
16694
|
+
onFilterValueChange: onFilterValueChange,
|
|
16695
|
+
onOptionChanged: props.onOptionChanged
|
|
16705
16696
|
}, columns.current.map(function (col) {
|
|
16706
16697
|
return React__default.createElement(DataGrid.Column, Object.assign({
|
|
16707
16698
|
key: col.dataField
|