Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 320
Srinivasan Venkatesan Avatar asked Nov 19 '14 03:11

Srinivasan Venkatesan


Video Answer


2 Answers

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

like image 90
Dafina Avatar answered Oct 03 '22 00:10

Dafina


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

headerCellTemplate: '<div></div>'
like image 39
Rob Sedgwick Avatar answered Oct 03 '22 02:10

Rob Sedgwick