@syook/react-tabulous 4.0.0-beta-0.14 → 4.0.0-beta-0.16
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/lib/index.esm.js +2 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/types/reactTabulous/components/columnHeaders/columnHeaderSerialNumber.d.ts +2 -0
- package/lib/types/reactTabulous/hooks/useGridRootProps.d.ts +2 -0
- package/lib/types/reactTabulous/models/props/dataGridProps.d.ts +5 -0
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ export declare const DATA_GRID_PROPS_DEFAULT_VALUES: {
|
|
|
19
19
|
sortBy: string;
|
|
20
20
|
showColumnToolbar: boolean;
|
|
21
21
|
showFilterToolbar: boolean;
|
|
22
|
+
isShowSerialNumber: boolean;
|
|
22
23
|
filters: never[];
|
|
23
24
|
searchText: string;
|
|
24
25
|
checkboxSelection: boolean;
|
|
@@ -38,6 +39,7 @@ export declare const DATA_GRID_PROPS_DEFAULT_VALUES: {
|
|
|
38
39
|
noRowsOverlay: import("react/jsx-runtime").JSX.Element;
|
|
39
40
|
children: null;
|
|
40
41
|
isRealTimeDataUpdate: boolean;
|
|
42
|
+
searchPlaceholder: string;
|
|
41
43
|
onBulkActionClick: () => void;
|
|
42
44
|
fetchOnPageChange: null;
|
|
43
45
|
rowsCount: null;
|
|
@@ -23,6 +23,7 @@ export interface DataGridPropsWithDefaultValues {
|
|
|
23
23
|
logger: Logger;
|
|
24
24
|
showColumnToolbar: boolean;
|
|
25
25
|
showFilterToolbar: boolean;
|
|
26
|
+
isShowSerialNumber: boolean;
|
|
26
27
|
searchKeys: string[];
|
|
27
28
|
searchText: string;
|
|
28
29
|
/**
|
|
@@ -157,6 +158,10 @@ export interface DataGridPropsWithDefaultValues {
|
|
|
157
158
|
*
|
|
158
159
|
*/
|
|
159
160
|
customExport: null | ((filteredAndSortedData: any, searchText: string, columns: any) => void);
|
|
161
|
+
/**
|
|
162
|
+
* custom placeholder for the search field.
|
|
163
|
+
*/
|
|
164
|
+
searchPlaceholder: string;
|
|
160
165
|
}
|
|
161
166
|
export type DataGridProps<R extends GridValidRowModel = any> = Partial<DataGridPropsWithDefaultValues> & {
|
|
162
167
|
pagination?: true;
|