1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    10
    Vote Rating
    1
    nareshurs is on a distinguished road

      0  

    Default Alternative to layout() method

    Alternative to layout() method


    I am using GXT3 with GWT2.5. In earlier versions I used to change the UI widgets attributes dynamically and call layout() method which re renders the widget with updated attributes. I didnt see the layout() method in latest versions.

    Could any one let me know any equivalent method exists.

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,732
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    The layout() method from GXT 2 has been renamed to forceLayout() in GXT 3.

    It should not be needed in all cases of changing widget attributes - only in cases where the sizing data or structure of the widgets has changed.

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    10
    Vote Rating
    1
    nareshurs is on a distinguished road

      0  

    Default


    Thanks for the information Colin Alworth. That answers my question

Thread Participants: 1