1. #1
    Sencha User Venkateswara Rao's Avatar
    Join Date
    Oct 2007
    Location
    Visakhapatnam, Andhara Pradesh, India
    Posts
    35
    Vote Rating
    0
    Venkateswara Rao is on a distinguished road

      0  

    Default ExtJS Desktop Example - How to Open Grid Window programatically

    ExtJS Desktop Example - How to Open Grid Window programatically


    Hi, in the Ext JS desktop example how can I show/hide the window 'grid-win' programatically?
    Nothing is impossible because impossible itself says I'm possible

  2. #2
    Sencha User
    Join Date
    Mar 2008
    Posts
    566
    Vote Rating
    0
    moegal is on a distinguished road

      0  

    Default


    try something like:

    MyDesktop.getModule('grid-win').createWindow();

    not sure how to close.
    Try

    Ext.getCmp('grid-win').close();

  3. #3
    Sencha User Venkateswara Rao's Avatar
    Join Date
    Oct 2007
    Location
    Visakhapatnam, Andhara Pradesh, India
    Posts
    35
    Vote Rating
    0
    Venkateswara Rao is on a distinguished road

      0  

    Default


    Moegal,

    Thanks a lot for your help, both commands are working like charm.
    Nothing is impossible because impossible itself says I'm possible

  4. #4
    Sencha User
    Join Date
    Mar 2008
    Posts
    566
    Vote Rating
    0
    moegal is on a distinguished road

      0  

    Default


    no problem

  5. #5
    Ext User
    Join Date
    Oct 2010
    Posts
    1
    Vote Rating
    0
    jleta is on a distinguished road

      0  

    Default Desktop Example Code

    Desktop Example Code


    Hello,

    I am looking for the code form the desktop example. I have downloaded designer and want to start from the example and work my way around.

    Thanks,

    John

Similar Threads

  1. Replies: 4
    Last Post: 3 Jul 2009, 6:04 AM
  2. open desktop window from grid#help#
    By koko2589 in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 9 Apr 2009, 5:40 AM
  3. open desktop window from grid#help#
    By koko2589 in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 1 Apr 2009, 6:35 AM
  4. Desktop 2.0 How to open window from onClick event
    By TheItalianJob in forum Ext 2.x: Help & Discussion
    Replies: 11
    Last Post: 25 Feb 2008, 2:46 AM
  5. Best way to Open Window Desktop Ex
    By Brendan Carroll in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 13 Dec 2007, 11:40 AM

Thread Participants: 2