Reputation: 21
in my grid option, I let showGroupPanel: true So the grid can group all columns but I only want to group some of them. Is there any way to deal with this problem?
Upvotes: 1
Views: 1021
Reputation: 63
As per their docs you can change the default value 'groupable' to false in your column definition. Something like this:
$scope.gridOptions = {
data: 'myData',
showGroupPanel: true,
columnDefs: [{field:'Name', displayName:'Col Name', groupable: false},
{field:'Value', displayName:'Value', groupable: true}]
};
Upvotes: 1