ods-component-lib 1.18.267 → 1.18.268
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { MouseEventHandler } from "react";
|
|
2
2
|
import { ButtonType } from "antd/es/button/buttonHelpers";
|
|
3
|
-
import { IButtonProps, IDataGridOptions, IEditingProps, ISelectionProps, ISummaryProps } from "devextreme-react/data-grid";
|
|
3
|
+
import { IButtonProps, IDataGridOptions, IEditingProps, IScrollingProps, ISelectionProps, ISummaryProps } from "devextreme-react/data-grid";
|
|
4
4
|
import { IColumnOptions, IMasterDetailDatas, IMasterDetailFeatures } from "../OdsMasterDetailDataGrid/types";
|
|
5
5
|
export declare type SummaryTypes = "avg" | "count" | "custom" | "max" | "min" | "sum";
|
|
6
6
|
export interface IMultiCellEditableDataGridProps {
|
|
@@ -57,6 +57,7 @@ export interface IOdsDataGridProps extends IDataGridOptions, IMultiCellEditableD
|
|
|
57
57
|
masterDetailDatas?: IMasterDetailDatas;
|
|
58
58
|
masterDetailFeatures?: IMasterDetailFeatures;
|
|
59
59
|
DetailGridComponent?: React.FC<any>;
|
|
60
|
+
scrollingProps?: IScrollingProps;
|
|
60
61
|
}
|
|
61
62
|
export interface ISummaryRowOptions {
|
|
62
63
|
summaryLoadedDataLabel?: string;
|
package/dist/index.js
CHANGED
|
@@ -33829,7 +33829,9 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
|
|
|
33829
33829
|
onFastUpdateFailed = props.onFastUpdateFailed,
|
|
33830
33830
|
detailGridColumns = props.detailGridColumns,
|
|
33831
33831
|
detailData = props.detailData,
|
|
33832
|
-
masterDetailFeatures = props.masterDetailFeatures
|
|
33832
|
+
masterDetailFeatures = props.masterDetailFeatures,
|
|
33833
|
+
_props$scrollingProps = props.scrollingProps,
|
|
33834
|
+
scrollingProps = _props$scrollingProps === void 0 ? {} : _props$scrollingProps;
|
|
33833
33835
|
var _useToken = useToken$1(),
|
|
33834
33836
|
token = _useToken.token;
|
|
33835
33837
|
var _AntForm$useForm = antd.Form.useForm(),
|
|
@@ -34596,13 +34598,13 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
|
|
|
34596
34598
|
showPageSizeSelector: false,
|
|
34597
34599
|
showNavigationButtons: false,
|
|
34598
34600
|
showInfo: false
|
|
34599
|
-
}), React__default.createElement(DataGrid.Scrolling, {
|
|
34601
|
+
}), React__default.createElement(DataGrid.Scrolling, Object.assign({
|
|
34600
34602
|
showScrollbar: "always",
|
|
34601
34603
|
scrollByContent: true,
|
|
34602
34604
|
scrollByThumb: true,
|
|
34603
34605
|
mode: "virtual",
|
|
34604
34606
|
rowRenderingMode: "virtual"
|
|
34605
|
-
}), !props.closeGridHeader && React__default.createElement(DataGrid.SearchPanel, {
|
|
34607
|
+
}, scrollingProps)), !props.closeGridHeader && React__default.createElement(DataGrid.SearchPanel, {
|
|
34606
34608
|
visible: true
|
|
34607
34609
|
}), React__default.createElement(DataGrid.FilterRow, {
|
|
34608
34610
|
visible: props.isFilterRow != undefined ? props.isFilterRow : true
|