注册 登录
编程论坛 J2EE论坛

JavaScript中怎么设置toolBar的按钮居右

lxqlyld 发布于 2016-04-21 13:12, 6494 次点击
代码是这样的

toolBar: [
                    {
                        icon: '../../img/icon/fold.png',
                        text: '导出模板',
                        onClick: exportData
                    },
                    {
                        icon: '../../img/icon/unfold.png',
                        text: '导入',
                        onClick: importData
                    },
                    {
                        icon: '../../img/icon/upload.png',
                        text: '批量提交',
                        onClick: batchCommit
                    }
 ],

我想让最后一个“批量提交”按钮显示在右边,试了几个方法都不行,哪位大哥来帮帮忙
3 回复
#2
lxqlyld2016-04-22 14:52
一个人都没有啊
#3
lxqlyld2016-04-22 16:43
什么情况,来个人看看啊
#4
h151887792552016-06-26 12:43
在jsp中设置吧。用align=center








--------别开枪
1