Hide column header in ui-grid AngularJS
12,862
Solution 1
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
Solution 2
neither showHeader nor hideHeader did anything for me. I used this:
headerCellTemplate: '<div></div>'
![Srinivasan Venkatesan](https://lh5.googleusercontent.com/-vA1QpfoIIFk/AAAAAAAAAAI/AAAAAAAABEs/kdpxmbQ_zSE/photo.jpg?sz=256)
Author by
Srinivasan Venkatesan
Updated on June 05, 2022Comments
-
Srinivasan Venkatesan about 2 years
I am using ui-grid for displaying data. I want to hide the column header. Is there any property for this cause? Thanks
-
Jon R. over 7 yearsneither showHeader or hideHeader worked for me version:3.2.9. using @Rob Sedgwick approach with the 'blank' header template worked for me.