diff --git a/packages/demo/src/examples/slickgrid/example19.ts b/packages/demo/src/examples/slickgrid/example19.ts index 0ba2caafa..97b84a942 100644 --- a/packages/demo/src/examples/slickgrid/example19.ts +++ b/packages/demo/src/examples/slickgrid/example19.ts @@ -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: { @@ -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, + // }, }; }