2

I am facing issue on resizing the jqgrid headers. When i try to resize them, the headers dont match with the actual row data(as seen in the snap below).

I want the header rows to resize along with the data rows. Please help.

I have uploaded the image on the following link: Image-describing-shrink-issue

Thanks, AP

apapap
  • 91
  • 1
  • 8

1 Answers1

0
  1. For changing Column Header width in jqgrid use below code

    $('.ui-jqgrid-labels > th:eq(2)').css('width','400px');

  2. For changing Column cells width in jqgrid use below code

    $('#gridId tr').find("td:eq(2)").each(function(){$(this).css('width','400px');});

How to change header and column width in jqgrid code example.

Community
  • 1
  • 1
UdayKiran Pulipati
  • 6,579
  • 7
  • 67
  • 92