@acuteinfo/common-base 1.0.106 → 1.0.107

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.
@@ -43,6 +43,7 @@ interface GridTableType {
43
43
  buttonName: ReactNode;
44
44
  callback: (event: any, originalData: any, rows: any) => void;
45
45
  }[];
46
+ getReportData?: (filters: any[], queryFilters: any, globalFilter: string | undefined, originalData: any, filteredData: any) => void;
46
47
  }
47
48
  export declare const GridTable: FC<GridTableType>;
48
49
  export {};
@@ -174,4 +174,14 @@ export interface ReportGridProps {
174
174
  buttonName: ReactNode;
175
175
  callback: (event: any, originalData: any, rows: any) => void;
176
176
  }[];
177
+ /**
178
+ * The callback function to extract out current report data.
179
+ * @param filters array containing column filters
180
+ * @param queryFilters array containing retrieval parameter values
181
+ * @param globalFilter string or undefined
182
+ * @param originalData grid api data
183
+ * @param filteredData grid api data filtered by column filter, global filter, etc.
184
+ * @returns void
185
+ */
186
+ getReportData?: (filters: any[], queryFilters: any, globalFilter: string | undefined, originalData: any, filteredData: any) => void;
177
187
  }