Resize the jqGrid page edit box

后端 未结 1 1125
温柔的废话
温柔的废话 2021-01-15 01:37

In my ASP.NET MVC 3 app I have the pager enabled on my jqGrid, as shown in the picture below:

\"jqgrid<

1条回答
  •  难免孤独
    2021-01-15 02:03

    I suppose that you use ASP.NET MVC standard CSS which bring some minor problems in jqGrid. One from there is the pager width. It can be fixed with respect of

    
    

    Another small recommendation is to use

    
    

    or

    
    

    which would fix some problems with the width calculation and will remove unneeded horizontal scrolling bars. I made the feature request to make the corresponding changes in the standard CSS of jqGrid, but the request stay unanswerd.

    I recommend you to take a look in the demo from the answer. All the settings and some other tricks are used in the demo. The demo project are downgraded to VS2008 corresponds to the question, but with the minimal modifications you can convert it back to VS2010.

    0 讨论(0)
提交回复
热议问题