0

每个人我都有一个弹出窗口,当单击另一个弹出窗口中的按钮时会打开。当弹出窗口打开时,它有滚动条,我不希望它出现。

var win = $("#q-exp-add-edit-window").kendoWindow({
    draggable: false,
    visible: false,
    modal: true,
    //position: {
    //    top: 5,
    //    left: 8
    //},
    resizable: false,
}).data("kendoWindow");
//Set the Window Title
win.title("Entry Notes");
//Set the Window Width & Height
$("#q-exp-add-edit-window").css("width", "870");
$("#q-exp-add-edit-window").css("height", "460");
$("#q-exp-add-edit-window").html("");
win.refresh({
    url: ExpensesEditGrid.urlAddEditNote + params,
    iframe: true
});
//Center & Open the Window
win.center();
win.open();

这是图像: 在此处输入图像描述

非常感谢您的帮助。

4

1 回答 1

0

减小内表的高度和宽度,

这样只有内表才能适合并在模型内滚动。

检查模型高度和宽度(或尝试分配)

并更改以下几行,小于模型大小。

$("#q-exp-add-edit-window").css("width", "870");

$("#q-exp-add-edit-window").css("height", "460");

于 2015-09-21T08:33:09.870 回答