【发布时间】:2020-12-01 12:56:27
【问题描述】:
我有一个对话框定义如下:
$('#dgReport').dialog({
modal: true,
autoOpen: false,
width: 450,
title: '',
resizable: false,
buttons: [
{
text: 'Prev',
id: 'btnPrevReport',
click: function () { }
},
{
text: 'Next',
id: 'btnNextReport',
click: function () { }
},
{
text: 'Save',
click: function () {
}
},
{
text: 'Cancel',
click: function () {
$(this).dialog('close');
}
}
],
open: function () {}
};
我希望 Prev 和 Next 按钮位于左侧,Save 和 Cancel 位于右侧,是否可以不使用 window-pane 类?
【问题讨论】:
标签: jquery jquery-ui jquery-ui-dialog