@gridkitjs/react 0.15.0 → 0.16.0
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.d.ts +8 -7
- package/dist/index.js +619 -412
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -22,14 +22,15 @@ interface GridExportApi {
|
|
|
22
22
|
interface GridPanelApi {
|
|
23
23
|
/**
|
|
24
24
|
* Opens the column chooser at the grid's top-end corner, in place of any
|
|
25
|
-
* panel open; it gives focus back to what had it when it
|
|
25
|
+
* panel or context menu open; it gives focus back to what had it when it
|
|
26
|
+
* closes.
|
|
26
27
|
*/
|
|
27
28
|
openColumnChooser(): void;
|
|
28
29
|
/**
|
|
29
30
|
* Opens the filter menu of the column `columnId` below its header, in
|
|
30
|
-
* place of any panel open, and says whether it opened:
|
|
31
|
-
* with no filter menu, nor one not shown. It gives focus
|
|
32
|
-
* header when it closes.
|
|
31
|
+
* place of any panel or context menu open, and says whether it opened:
|
|
32
|
+
* not for a column with no filter menu, nor one not shown. It gives focus
|
|
33
|
+
* back to the header when it closes.
|
|
33
34
|
*/
|
|
34
35
|
openFilterMenu(columnId: string): boolean;
|
|
35
36
|
/** Closes the filter menu, if one is open, leaving any other panel open. */
|
|
@@ -239,9 +240,9 @@ interface DataGridApi<Row> extends GridExportApi, GridPrintApi, GridPanelApi {
|
|
|
239
240
|
/**
|
|
240
241
|
* Opens the context menu `target` has, as a right-click there would —
|
|
241
242
|
* selecting it and focusing its cell first — beside `anchor`, a point in
|
|
242
|
-
* viewport coordinates or an element, or else below its cell
|
|
243
|
-
* it opened: not for a target not on screen,
|
|
244
|
-
* gives no menu.
|
|
243
|
+
* viewport coordinates or an element, or else below its cell, in place of
|
|
244
|
+
* any panel open. Says whether it opened: not for a target not on screen,
|
|
245
|
+
* nor where `contextMenu` gives no menu.
|
|
245
246
|
*/
|
|
246
247
|
openContextMenu(target: GridContextMenuTarget, anchor?: {
|
|
247
248
|
readonly x: number;
|