ods-component-lib 1.18.6 → 1.18.8
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/components/devextreme/OdsRemoteDataGrid.d.ts +11 -3
- package/dist/index.js +690 -63
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +691 -64
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IDataGridOptions, IButtonProps, ISelectionProps, IEditingProps } from 'devextreme-react/data-grid';
|
|
2
|
+
import { IDataGridOptions, IButtonProps, ISelectionProps, IEditingProps, ISummaryProps } from 'devextreme-react/data-grid';
|
|
3
3
|
interface IOdsDataGridProps extends IDataGridOptions {
|
|
4
4
|
isApplyButtonClicked?: boolean;
|
|
5
5
|
language: string;
|
|
@@ -8,6 +8,7 @@ interface IOdsDataGridProps extends IDataGridOptions {
|
|
|
8
8
|
pageTitle?: string;
|
|
9
9
|
toolbarButtonGroup?: IButtonGroup[];
|
|
10
10
|
actionButtonGroup?: IButtonGroup[];
|
|
11
|
+
actionButtonGroupCaption?: string;
|
|
11
12
|
columns: any[];
|
|
12
13
|
pageSize?: number;
|
|
13
14
|
actionColumnEnable: boolean;
|
|
@@ -17,6 +18,13 @@ interface IOdsDataGridProps extends IDataGridOptions {
|
|
|
17
18
|
edit?: IEditingoptions;
|
|
18
19
|
isServerSide: boolean;
|
|
19
20
|
axiosRequest?: IAxiosProps;
|
|
21
|
+
customSummary?: ISummaryRowOptions;
|
|
22
|
+
}
|
|
23
|
+
interface ISummaryRowOptions {
|
|
24
|
+
summaryLoadedDataLabel?: string;
|
|
25
|
+
summaryTotalDataLabel?: string;
|
|
26
|
+
summaryFilteredDataLabel?: string;
|
|
27
|
+
summaryItems?: ISummaryProps[];
|
|
20
28
|
}
|
|
21
29
|
interface IAxiosProps {
|
|
22
30
|
token: string;
|
|
@@ -39,5 +47,5 @@ interface IButtonGroup extends IButtonProps {
|
|
|
39
47
|
onclick?: React.MouseEventHandler<HTMLElement>;
|
|
40
48
|
actionPermission?: boolean;
|
|
41
49
|
}
|
|
42
|
-
declare const
|
|
43
|
-
export default
|
|
50
|
+
declare const OdsRemoteDataGrid: (props: IOdsDataGridProps) => React.JSX.Element;
|
|
51
|
+
export default OdsRemoteDataGrid;
|