如何控制弹出表单的布局(对齐) [英] How do I control the layout of the pop-up form (alignment)

查看:116
本文介绍了如何控制弹出表单的布局(对齐)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用JqGrid jquery插件,我想使用插入弹出窗口功能,但是当控件排列好后,我将对其进行研究,我们如何控制顺序(对齐)

I Use JqGrid jquery plugin, i Want to use insert popup Capability, but I'll look into it when the controls are arranged,How can we control the order(alignment)

我想参加.

谢谢

推荐答案

我没有RTL语言方面的经验,但是如果我使用direction: 'rtl'

I have no experience in RTL languages, but if I use direction: 'rtl' option of jqGrid I have much better results as in your screen shorts:

请参见演示.我希望演示会为您提供帮助.

see the demo. I hope the demo will help you.

更新:在我看来,ui.jqgrid.css的一行中有一个错误,该错误定义了.ui-jqdialog-content .CaptionTD的样式.应当从样式设置中删除text-align: left;,以从父级继承text-align样式.在使用RTL语言的情况下,可以在ui.jqgrid.css之后添加以下其他CSS来解决此问题:

UPDATED: It seems to me there are a bug in the ui.jqgrid.css in the line which defines style for .ui-jqdialog-content .CaptionTD. One should remove text-align: left; from the style settings to inherit the text-align style from the parent. One can fix the problem by including the following additional CSS after the ui.jqgrid.css in case of usage RTL language:

.ui-jqdialog-content .CaptionTD {text-align: right;}

演示(使用修改后的CSS)将编辑表单显示为以下:

The demo which uses modified CSS display the edit form as the following:

这篇关于如何控制弹出表单的布局(对齐)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆