Results 1 to 5 of 5

Thread: Grid between Two Panels

  1. #1
    Sencha User
    Join Date
    Jul 2013
    Posts
    77
    Vote Rating
    1
      0  

    Default Grid between Two Panels

    Hi,
    I have two panels initially rendered inside a main panel.Now upon selection the combo box in panel1,their should be a grid inserted between the two panels.
    Can some one suggest on how to achieve this.
    Thanks in Advance

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506
    Vote Rating
    296
      0  

    Default

    Are you using an hbox layout for your panels? Perhaps you could have the grid's panel hidden between the visible panels until you want to display it?

  3. #3
    Sencha User jdkhamba's Avatar
    Join Date
    Jul 2012
    Posts
    236
    Answers
    45
    Vote Rating
    24
      0  

    Default

    Or you could just insert it in correct location, In your case, index 1 :

    http://docs.sencha.com/extjs/4.2.0/#...-method-insert

  4. #4
    Sencha User
    Join Date
    Jul 2013
    Posts
    77
    Vote Rating
    1
      0  

    Default

    The way inserting the component at a particular index,can i remove the component at the particular index.

  5. #5
    Sencha User jdkhamba's Avatar
    Join Date
    Jul 2012
    Posts
    236
    Answers
    45
    Vote Rating
    24
      0  

    Default

    Yes. Call remove :-)

    http://docs.sencha.com/extjs/4.2.0/#...-method-remove

    But in this case you have to access the component you want to remove instead of doing that by index.

Similar Threads

  1. Replies: 6
    Last Post: 21 May 2015, 7:36 AM
  2. Replies: 5
    Last Post: 27 Nov 2014, 1:42 PM
  3. Replies: 0
    Last Post: 3 Mar 2011, 4:39 AM
  4. Replies: 0
    Last Post: 2 Feb 2011, 3:56 PM

Posting Permissions

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