Mask TreePanel Ajax.

  • Hello.
    Im currently masking a file selector menu that is feed from a external source.
    While load im currently masking it calling its container mask function.

    2 questions.

    Q1: There is another way to mask the tree using its own methods.

    Q2: How i could customize the position of the mask box.

    thanks in advance.


  • http://extjs.com/deploy/dev/docs/?class=Ext.tree.TreePanel

    treePanel.body is the element

    http://extjs.com/deploy/dev/docs/?class=Ext.Element

    var maskEl = treePanel.body.mask();

    //maskEl is the masking Ext.Element, do whatever you want with it.

    treePanel.body.unmask();


    Elegant, many thanks for your reply.

    So procedures that returns elements like this msg box could be manipulated just asigning a variable, i will use this for more scenarios for sure. Again many thanks.


  • Im trying to generate a custom mask inside a grid extension.

    I tried to define myMask inside the apply statement.

    Ext.apply(
    this,
    {
    myMask : new Ext.LoadMask(this, {msg:"Please wait..."}),
    // more code
    }

    tried with many variations, this.id for example.
    FireBug told me that cant get the element, i think the component is not created so i cant be referenced or im doing something wrong.

    When you define the mask with the Ext.getBody as target it is created perfectly, inside the object, but i want to mask the panel that contains the mask.

    Q: how i could create a custom mask in a extended grid?


  • http://extjs.com/deploy/dev/docs/?class=Ext.tree.TreePanel

    treePanel.body is the element

    http://extjs.com/deploy/dev/docs/?class=Ext.Element

    var maskEl = treePanel.body.mask();

    //maskEl is the masking Ext.Element, do whatever you want with it.

    treePanel.body.unmask();


  • Im trying to generate a custom mask inside a grid extension.

    I tried to define myMask inside the apply statement.

    Ext.apply(
    this,
    {
    myMask : new Ext.LoadMask(this, {msg:"Please wait..."}),
    // more code
    }tried with many variations, this.id for example.
    FireBug told me that cant get the element, i think the component is not created so i cant be referenced or im doing something wrong.

    When you define the mask with the Ext.getBody as target it is created perfectly, inside the object, but i want to mask the panel that contains the mask.

    Q: how i could create a custom mask in a extended grid?


    I will open a new post thread.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Mask TreePanel Ajax. , Please add it free.