开发者

How do you change the size of JQGrid's Edit Dialog Box?

开发者 https://www.devze.com 2023-01-11 07:13 出处:网络
In a JQGrid grid, when you select a row and pre开发者_如何学Css the edit button, a dialog box pops up to allow you to enter information in the fields of that row.How do you specify a default height, w

In a JQGrid grid, when you select a row and pre开发者_如何学Css the edit button, a dialog box pops up to allow you to enter information in the fields of that row. How do you specify a default height, width, and location of the dialog box that pops up?


According to the docs for Form Editing, you can use the following options:

  • top - the initial top position of modal dialog. The default value of 0 mean the top position from the upper left corner of the grid. When jqModal option is true (see below) and jqModal plugin is present any value different from 0 mean the top position from upper left corner of the window.

  • left - the initial left position of modal dialog. The default value of 0 mean the left position from the upper left corner of the grid. When jqModal option is true (see below) and jqModal plugin is present any value different from 0 mean the left position from upper left corner of the window.

  • width - the width of confirmation dialog

  • height - the entry height of confirmation dialog


This worked for me. JqGrid How to change width of edit form?

0

精彩评论

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

关注公众号