Srinivasan Venkatesan
Srinivasan Venkatesan

Reputation: 111

Hide column header in ui-grid AngularJS

I am using ui-grid for displaying data. I want to hide the column header. Is there any property for this cause? Thanks

Upvotes: 11

Views: 13316

Answers (3)

Rob Sedgwick
Rob Sedgwick

Reputation: 4514

neither showHeader nor hideHeader did anything for me. I used this:

headerCellTemplate: '<div></div>'

Upvotes: 6

Sategroup
Sategroup

Reputation: 955

This has been changed to showHeader:false in latest version of ui-grid (3.1.1)

Upvotes: 0

Dafina
Dafina

Reputation: 127

Based on Angular-ui Change log

Breaking Changes

The hideHeader option has been changed to showHeader

To migrate, change your code from the following:

hideHeader: true

To:

showHeader: false

Upvotes: 11

Related Questions