Results 1 to 3 of 3

Thread: hidden component

  1. #1
    Sencha User
    Join Date
    Oct 2008
    Location
    france
    Posts
    53

    Default hidden component

    Hello,

    How to you hidden for example a panel when you write like this below:

    PHP Code:

    var url Ext.get('user_priv').getValue();var visible ='';if (url 'test'){    visible='true';    }else{    visible='false';
    var 
    testpanel= new Ext.Panel({
    hidden:visible,
    .......
    }); 
    Thanks for your help
    Christophe

  2. #2
    Sencha User
    Join Date
    Oct 2008
    Location
    france
    Posts
    53

    Default

    No body have an idea,how to do that

  3. #3
    Sencha User
    Join Date
    Oct 2009
    Location
    Cambridge, UK
    Posts
    164

    Default

    You should set the variable visible to the boolean value true or false, not the string value 'true' or 'false'.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •