esvit / ng-table

Simple table with sorting and filtering on AngularJS
http://esvit.github.io/ng-table
BSD 3-Clause "New" or "Revised" License
2.77k stars 851 forks source link

Settings to hide group header #982

Closed benedekh closed 7 years ago

benedekh commented 7 years ago

Hello,

As I upgraded from 0.8.3 to 1.0.0 a group header appeared above my table, that I cannot make disappear. The only solution I found so far was to hide that CSS class, but it is only a workaround for the problem.

.ng-table-group-header {
    display: none;
}

Is there any setting that hides this header even if I have a group(By) argument in NgTableParams?

Thank you for the answer in advance.

callejass commented 7 years ago

Hello,

You can set show-group attribute to false (show-group="false") at same element where you has applied ng-table directive.

benedekh commented 7 years ago

@callejass thank you for the suggestion. I'll try it as soon as it's possible.