开发者

jqGrid Mouse Drag to Resize

开发者 https://www.devze.com 2023-01-01 12:28 出处:网络
I\'m looking for a way to trigger 开发者_C百科a resize of a jqGrid by dragging the mouse.Good news: in version 3.6 they\'ve added a gridResize feature.

I'm looking for a way to trigger 开发者_C百科a resize of a jqGrid by dragging the mouse.


Good news: in version 3.6 they've added a gridResize feature.

It adds the drag handle for you and everything.

jQuery("#grid")
  .jqGrid('gridResize',
      {minWidth:350, maxWidth:800, minHeight:80, maxHeight:350}
      );

See the demo - it's the last item under "New in version 3.6"

http://trirand.com/blog/jqgrid/jqgrid.html

0

精彩评论

暂无评论...
验证码 换一张
取 消