Skip to content

Commit

Permalink
fix(grid): Support Row Selection & Inline Editors in 1 view
Browse files Browse the repository at this point in the history
- SlickGrid reference 6pac/SlickGrid#243
  • Loading branch information
Ghislain Beaulac authored and Ghislain Beaulac committed May 18, 2018
1 parent 163bf75 commit b6cdd11
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"jquery-ui-dist": "^1.12.1",
"lodash": "^4.17.4",
"moment-mini": "^2.19.4",
"slickgrid": "^2.3.18",
"slickgrid": "^2.3.19",
"text-encoding-utf-8": "^1.0.2",
"vinyl-paths": "^2.1.0"
},
Expand Down
1 change: 1 addition & 0 deletions src/app/modules/angular-slickgrid/global-grid-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export const GlobalGridOptions: GridOption = {
numberedMultiColumnSort: true,
tristateMultiColumnSort: false,
sortColNumberInSeparateSpan: true,
suppressActiveCellChangeOnEdit: true,
pagination: {
pageSizes: [10, 15, 20, 25, 30, 40, 50, 75, 100],
pageSize: 25,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,12 @@ export interface GridOption {
/** Defaults to true, which leads to render a separate span for the number and styles it with css class <i>slick-sort-indicator-numbered</i> */
sortColNumberInSeparateSpan?: boolean;

/**
* Defaults to true, which leads to suppress the cell from becoming active when cell as an editor and is clicked.
* This flag should be enabled especially when mixing these 2 features (Row Selections & Inline Editors)
*/
suppressActiveCellChangeOnEdit?: boolean;

/** What is the top panel height in pixels (only type the number) */
topPanelHeight?: number;

Expand Down

0 comments on commit b6cdd11

Please sign in to comment.