jqGrid 列选择器对话框可调整大小,但调整大小时内部内容不会在调整大小时拉伸
我使用 jqGrid 和 ui.multiselect.js 进行列选择和重新排序。出现的对话框可以调整大小,但调整大小时,对话框的内容不会调整大小。 你必须参加任何活动才能做这些事情吗?
I am using jqGrid with ui.multiselect.js for column choosing and reordering. The dialog which comes up is resizable but when resized, the contents of the dialog are not resized.
Do you have to hook into any event do the stuff?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你是对的。目前,这是列选择器中的问题。
最好在
columnChooser
方法的代码中进行一些修复。首先,您可以在创建对话框后在“列选择器”对话框中进行一些更改来改善调整大小的情况。例如,使用以下代码,您将在水平调整大小时获得相当好的结果(请参阅演示)。通过这种方式,您可以解决或至少改善调整大小的结果。
更新:我发布了这里建议使columnChooser真正可调整大小。您可以在演示上查看结果。
You are right. Currently it's a problem in the column chooser.
It's better to make some fixes in the code of the
columnChooser
method. Before all you can improve the situation with resizing by making some changes in the Column Chooser dialog after the dialog is created. For example with the following codeyou will have fairly good results with the horizontal resizing (see the demo). In the way you can either solve or at least have improve the results of resizing.
UPDATED: I posted here suggestions to make columnChooser really resizable. You can see the results on the demo.