EXTJS(sencha)窗口中的UNDO / REDO [英] UNDO/REDO in EXTJS (sencha) window

查看:101
本文介绍了EXTJS(sencha)窗口中的UNDO / REDO的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI


应用程序包含sample.aspx。如果我在EXT窗口的弹出窗口中单击任何按钮,打开sample.aspx页面。 sample.aspx页面包含两个文本框。在这里我不能在这些文本框中执行撤消和重做功能



EXTJS代码是这样的。请参考下面的代码

HI
the application contains the sample.aspx. if i click the any button the sample.aspx page in opening in popup in EXT window. The sample.aspx page contains the two textboxes. here i cant do undo and Redo functionlites in those textboxes

The EXTJS code is like this. please refer below code

function TaskshowPopWindow(windowTitle, htmlText, width, height) {

        parent.win3 = new parent.Ext.Window({
            html: htmlText,
            title: windowTitle,
            width: width,
            height: height,
            closeAction: 'hide',
            bodyStyle: 'background:white; padding: 10px;',
            progress: true,
            modal: true,
            resizable: false,
    parent.win3.show();
}





在上面的函数中我将sample.aspx页面名称作为htmltext参数传递并传递高度和宽度,标题。 />


包含以下java脚本函数的按钮。在我调用 TaskshowPopWindow 函数的函数中





in that above function i am passing the sample.aspx page name as htmltext parameter and passing the height and width,title.

the button containg the following java script functions. in the function i am calling the TaskshowPopWindow functions

function popup()
{
TaskshowPopWindow('sample','sample.aspx',200,200)
}





他回到



如果我点击按钮,aspx页面在extjs窗口中打开。
页面中的
有两个文本框。 在那些文本框中我无法进行撤销/重做操作.. 在EXTJS中是否有任何UNDO / REDO的权利



Here

if i click the button the aspx page getting open in a extjs window.
in the page has two text boxes. in those textboxes i cant able to do undo/redo operatios.. is there any prpoerty for UNDO/REDO in EXTJS

推荐答案

我认为此链接 [ ^ ]将帮助您


这篇关于EXTJS(sencha)窗口中的UNDO / REDO的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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