Skip to content

Commit

Permalink
remove default selection checkboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
gboros committed Dec 13, 2024
1 parent 592a0a4 commit 66a23ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions aggrid/projects/nggrids/src/datagrid/datagrid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ export class DataGrid extends NGGridDirective {
rowSelection: {
mode: this.myFoundset && (this.myFoundset.multiSelect === true) ? 'multiRow' : 'singleRow',
enableClickSelection: this.enabled,
checkboxes: false,
isRowSelectable: (node: IRowNode) => {
return !node.group || (this.groupCheckbox && this.myFoundset && (this.myFoundset.multiSelect === true));
}
Expand Down
3 changes: 2 additions & 1 deletion aggrid/projects/nggrids/src/powergrid/powergrid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ export class PowerGrid extends NGGridDirective {

rowSelection: {
mode: this.multiSelect === true ? 'multiRow' : 'singleRow',
enableClickSelection: this.enabled
enableClickSelection: this.enabled,
checkboxes: false
},
// suppressRowClickSelection: rowGroupColsDefault.length === 0 ? false : true,
cellSelection: false,
Expand Down

0 comments on commit 66a23ad

Please sign in to comment.