我的Kendo UI kendoWindow对象的内容包含超过1个打印页面的内容。每当我打印模式窗口的内容时,我只能打印一页。

我尝试将容器对象的高度设置为大量,但在打印审阅中仍然只有一页。

关于如何打印模式窗口的全部内容(超过1个打印页)的任何建议都很好。

感谢您的时间。

最佳答案

经过一番调查,我确定我需要在CSS以下进行正确的打印。

@media print
{
body > .k-window
    {
        display: block !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        border-width: 0;
        box-shadow: none !important;
    }
}

07-24 09:50
查看更多