jqGrid horizontal scrollbar

前端 未结 13 2134
终归单人心
终归单人心 2020-12-13 09:28

I developed AJAX interface with jQuery and jqGrid.

How I can remove horizontal scrollbar from my jqGrid table?

http://dskarataev.ru/jqgrid.png

If I s

13条回答
  •  不思量自难忘°
    2020-12-13 09:45

    setGridWidth will definitely resize your grid to that of the given new width, but make sure you use it with autowidth=true. setGridWidth may have problem with IE 7 or so.

    Some working solutions discussed here (in case if you are yet to find a solution),

    Resize jqGrid when browser is resized?

    http://www.trirand.com/blog/?page_id=393/discussion/browser-resize-how-to-resize-jqgrid/

    ----old----

    There are couple of options you can try,

    From http://www.trirand.com/jqgridwiki/doku.php?id=wiki:options

    "autowidth" : true    
    

    or

    "shrinkToFit": false
    

    Otherwise post your jqgrid code, let us analyze.

提交回复
热议问题