0

I am new to jqGrid. I want to hide the column names of the grid. I gone through the documentation of Grid Options & ColModel. But found nothing. Please find the JsFiddle Link - JsFiddle Example I want to hide all column names such as Client, Inv No, Date, Amount, Tax, Total & Notes.

Please help me. Thanks in advance

enter code here
user3782415
  • 21
  • 1
  • 3
  • 1
    possible duplicate of [jqGrid without header](http://stackoverflow.com/questions/2500477/jqgrid-without-header) – Jane S Jun 27 '14 at 10:58
  • If one need to hide column headers only for one grid then one can use `$("#grid").closest("div.ui-jqgrid-view").children("div.ui-jqgrid-hdiv").hide();`. See [the answer](http://stackoverflow.com/a/14265456/315935) where column headers of subgrids will be hidden. – Oleg Jun 29 '14 at 09:43

1 Answers1

0

I marked this as a duplicate as it exactly answers your question, but the answer given there is simply to place the following line under your grid declaration:

$('.ui-jqgrid-hdiv').hide();
Community
  • 1
  • 1
Jane S
  • 1,417
  • 16
  • 21