Understanding JQGrid column width behaviors

前端 未结 6 1605
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-04 12:39

I have a tree grid with many columns, all with specified width. And boy, it looks terrible since headers are out of sync with columns below, even if I have short data in them.

6条回答
  •  误落风尘
    2021-02-04 13:07

    Try to play with 'autowidth' and 'shrinkToFit' jqGrid parameters. For example, if 'shrinkToFit' is true, columns' width will be changed as if initial widths defines percentage. Read more here.

提交回复
热议问题