Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

Commit 10f0b7d

Browse files
feat(gridMenu): update SlickGrid & add new Grid Menu options, fixes #464 (#473)
- also fixes an issue with grouping header not properly showing full browser vertical scroll - fixes #464 Co-authored-by: Ghislain Beaulac <ghislain.beaulac@se.com>
1 parent 2681596 commit 10f0b7d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"lodash.isequal": "^4.5.0",
102102
"moment-mini": "^2.22.1",
103103
"rxjs": "^6.3.3",
104-
"slickgrid": "^2.4.23",
104+
"slickgrid": "^2.4.24",
105105
"text-encoding-utf-8": "^1.0.2"
106106
},
107107
"devDependencies": {

src/app/modules/angular-slickgrid/models/gridMenu.interface.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ export interface GridMenu {
2828
/** Same as "forceFitTitle", except that it's a translation key which can be used on page load and/or when switching locale */
2929
forceFitTitleKey?: string;
3030

31+
/** Defaults to undefined, fixed height of the Grid Menu content, when provided it will be used instead of the max-height */
32+
height?: number;
33+
3134
/** Defaults to false, which will hide the "Clear all Filters" command in the Grid Menu (Grid Option "enableFiltering: true" has to be enabled) */
3235
hideClearAllFiltersCommand?: boolean;
3336

@@ -91,6 +94,9 @@ export interface GridMenu {
9194
/** Defaults to False, which leads to leaving the menu open after a click */
9295
leaveOpen?: boolean;
9396

97+
/** Defaults to 15, margin to use at the bottom of the grid menu to deduce from the max-height, only in effect when height is undefined */
98+
marginBottom?: number;
99+
94100
/** Defaults to 16 pixels (only the number), which is the width in pixels of the Grid Menu icon container */
95101
menuWidth?: number;
96102

0 commit comments

Comments
 (0)