[CLOSED] How to set Layout of GridPanel and Viewport dynamically

  1. #1

    [CLOSED] How to set Layout of GridPanel and Viewport dynamically

    I want to set grid panel layout dynamically . i have two grid panel inside one viewport in some situation i want to use 'borderLayout' and in other situation i want to use 'FitLayout'
    Last edited by Daniil; Apr 10, 2015 at 12:57 PM. Reason: [CLOSED]
  2. #2
    Hi @aditya,

    First of all, I should say that there is no way to switch between FitLayout and BorderLayout on the fly without re-rendering the entire container.

    If you clarify the requirement, we might think on that in greater details.

    Specifically, I would like to understand, on what conditions you want to change the layout.

    Also how you want to use a FitLayout for two GridPanels. FitLayout supports the only child component.

Similar Threads

  1. change the layout of a panel dynamically
    By Girija in forum 2.x Help
    Replies: 1
    Last Post: Mar 29, 2015, 2:44 PM
  2. [CLOSED] Column layout to build a table dynamically
    By trePjt in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Dec 10, 2013, 6:15 AM
  3. How Dynamically Add TopBar To Grid in MVC
    By mohammadf in forum 2.x Help
    Replies: 1
    Last Post: Nov 24, 2013, 3:39 AM
  4. Replies: 0
    Last Post: Mar 27, 2012, 10:01 AM
  5. Replies: 1
    Last Post: Sep 22, 2010, 7:07 AM

Posting Permissions