angular-ui / ui-grid

UI Grid: an Angular Data Grid
http://ui-grid.info
MIT License
5.39k stars 2.47k forks source link

NG-grid grouping Expand or Collapse #1074

Closed SelvaD closed 10 years ago

SelvaD commented 10 years ago

I have 3 issues in Ng-Grid grouping, can you please help

1) I need the gropuping and the Group header to be in a seperate row , but i dont need the Expand or Collapse option and icon .

2) How to apply Style to the Group Header

3) Need to remove the count from the Group Header

c0bra commented 10 years ago

Not sure what #1 means exactly. Can you clarify with a full paragraph?

Have you tried using a custom aggregateTemplate.?

SelvaD commented 10 years ago

In the existing ng-grid, when we do grouping we have the below format

row1column2 row1column2 row2column2 row2column2
row1column2 row1column2 row2column2 row2column2 But i needed like below, no need the expand collapse arrow and count of rows
row1column2 row1column2 row2column2 row2column2
row1column2 row1column2 row2column2 row2column2
SelvaD commented 10 years ago

Ignor my previous comment , let me type again

SelvaD commented 10 years ago

In the existing ng-grid, when we do grouping we have the below format

(expand Collapse arrow ) (Group1 Name) ( group row count) (table Header1) (table Header2) row1column2 row1column2 row2column2 row2column2

(expand Collapse arrow ) (Group2 Name) ( group row count) (table Header1) (table Header2) row1column2 row1column2 row2column2 row2column2

But i needed like below

(Group1 Name) (table Header1) (table Header2) row1column2 row1column2 row2column2 row2column2

(Group2 Name) (table Header1) (table Header2) row1column2 row1column2 row2column2 row2column2