Jquery JQGrid - How to set alignment of grid header cells?

前端 未结 7 1927
面向向阳花
面向向阳花 2020-11-30 03:25

Is it possible to align grid column headers in jqgrid? eg align left right or center?

In the jqrid documents http://www.trirand.com/jqgridwiki/doku.php?id=wiki:colm

7条回答
  •  渐次进展
    2020-11-30 04:00

    Just go to your css file of your jqgrid.

    Look for:

    ui-th-column,.ui-jqgrid .ui-jqgrid-htable th.ui-th-column
    {overflow:hidden;white-space:nowrap;text-align:center; ...
    

    And change the text-align.

    I didn't find it eather with regular options.

    I hope this will help you.

    Bruno

提交回复
热议问题