I am using ui-grid for displaying data. I want to hide the column header. Is there any property for this cause? Thanks
-
2Do you mean you wish to hide the header for a particular column or the entire header row, so it is just the data rows? Also, does "hide" mean "show as blank with no text" or "completely hide from view"?GregL– GregL2014-11-19 03:40:29 +00:00Commented Nov 19, 2014 at 3:40
-
1Thanks for the response. I want to hide the entire header row (completely hide from the view)Srinivasan Venkatesan– Srinivasan Venkatesan2014-11-19 04:13:42 +00:00Commented Nov 19, 2014 at 4:13
-
1It worked :) There was an option hideHeader:true which I set during the ui-grid specification. ThanksSrinivasan Venkatesan– Srinivasan Venkatesan2014-11-19 04:28:45 +00:00Commented Nov 19, 2014 at 4:28
-
1I suggest you add that as an answer to your own question and accept it, then. That will prevent this question from showing up as unanswered, and allow other people to find the answer to your question quicker than you did.GregL– GregL2014-11-19 04:52:49 +00:00Commented Nov 19, 2014 at 4:52
Add a comment
|
3 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
1 Comment
Jon R.
neither showHeader or hideHeader worked for me version:3.2.9. using @Rob Sedgwick approach with the 'blank' header template worked for me.