Let's say I have a pattern of patterns
{name: .. Age: ... Department: ...} and I want to show them on the NG-Grid, but I only want a column for name and Age
columnDefs: [{Field: 'name' ...}, {field: 'age' ...} But I want to group them in the department , without department columns.
I have tried to add only one groups: ['dept'] to my grid options, but this does not work - without the group grid
Many people also use gridOptions.groupBy to me, but when I try
$ scope GridOptions = ... $ Scope.gridOptions.groupBy ('dept') I do not have a (expected) undefined function error I can not understand How are the examples of people Program do when Grid Options is just a plain old object
So my question is: Is it possible to set up my NG-grid with my non-display columns? I've got a hack around my problem, I've defined the 'group' column normally. , But I have set width , minWidth , and maxWidth to 0. Also, I'm false from recalculable .
Comments
Post a Comment