I know I can configure ui-grid to show extra menu items on a per column basis, such as the following.
$scope.gridOptions = {
"data": "results.values",
"columnDefs": [
{ "name": "Employee Number",
"field": "emp_no",
"menuItems":[
{
"title":"Sort All Asc",
"action":function(){console.log('test')}
}
]
}
]
}
Is there any way I can do this not in the columnDefs property, so that an item will be applied to all columns?