@kanunilabs/datagrid-react 1.8.4 → 1.8.6
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.cjs +3 -3
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +3 -3
- package/dist/styles.css +27 -0
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -120,6 +120,15 @@ interface PrintLayoutOptions {
|
|
|
120
120
|
* streams instead.
|
|
121
121
|
*/
|
|
122
122
|
maxRows?: number;
|
|
123
|
+
/**
|
|
124
|
+
* Called when a print is asked for and the result is over `maxRows`, so the
|
|
125
|
+
* grid prints the rows on screen only. Tell the user, or offer the PDF
|
|
126
|
+
* export: without it the shorter printout is silent (Tekax, 2026-10-28).
|
|
127
|
+
*/
|
|
128
|
+
onLimit?: (info: {
|
|
129
|
+
rows: number;
|
|
130
|
+
maxRows: number;
|
|
131
|
+
}) => void;
|
|
123
132
|
}
|
|
124
133
|
/** Default row cap. Report-sized results print; result sets do not. */
|
|
125
134
|
declare const PRINT_MAX_ROWS = 5000;
|
package/dist/index.d.ts
CHANGED
|
@@ -120,6 +120,15 @@ interface PrintLayoutOptions {
|
|
|
120
120
|
* streams instead.
|
|
121
121
|
*/
|
|
122
122
|
maxRows?: number;
|
|
123
|
+
/**
|
|
124
|
+
* Called when a print is asked for and the result is over `maxRows`, so the
|
|
125
|
+
* grid prints the rows on screen only. Tell the user, or offer the PDF
|
|
126
|
+
* export: without it the shorter printout is silent (Tekax, 2026-10-28).
|
|
127
|
+
*/
|
|
128
|
+
onLimit?: (info: {
|
|
129
|
+
rows: number;
|
|
130
|
+
maxRows: number;
|
|
131
|
+
}) => void;
|
|
123
132
|
}
|
|
124
133
|
/** Default row cap. Report-sized results print; result sets do not. */
|
|
125
134
|
declare const PRINT_MAX_ROWS = 5000;
|