Skip to content

Commit

Permalink
chore: add comments about Row Selection with Row Detail View
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Jul 27, 2024
1 parent 40aed48 commit ce1aca1
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions packages/demo/src/examples/slickgrid/example19.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ export class Example19 {
},
enableFiltering: true,
enableRowDetailView: true,
rowSelectionOptions: {
selectActiveRow: true
},
darkMode: this._darkMode,
datasetIdPropertyName: 'rowId', // optionally use a different "id"
rowDetailView: {
Expand Down Expand Up @@ -141,7 +138,18 @@ export class Example19 {
console.log('before toggling row detail', args.item);
return true;
},
}
},
rowSelectionOptions: {
selectActiveRow: true
},

// You could also enable Row Selection as well, but just make sure to disable `useRowClick: false`
// enableCheckboxSelector: true,
// enableRowSelection: true,
// checkboxSelector: {
// hideInFilterHeaderRow: false,
// hideSelectAllCheckbox: true,
// },
};
}

Expand Down

0 comments on commit ce1aca1

Please sign in to comment.