Results 1 to 2 of 2

Thread: Grid in Accordiaon Layout's second panel do not listen to render/show/viewReady event

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    2
    Vote Rating
    0
      0  

    Default Grid in Accordiaon Layout's second panel do not listen to render/show/viewReady event

    Hi All,

    I want to resize grid columns depending on grid width.As GXT does not support flex for columns to set percentage wise width (similar to ExtJS).So to solve this, I will listen to render/show event of grid, get grid width and change widths of columns.

    I am facing problem is that if grid is added in second panel, if user expands second panel, render/show/ViewReady events are not called.
    Grid Show lisnener never getting called.
    Grid Render/ViewReady listener is called only at start where i am getting 0 as width.

    How can Grid render get called when user expands second panel ?
    i am struggling this issue from last 2 days even though using GXT samples AccordianLayoutExample.java and GridExample.java. Can you please help me out?

    Thanks in advance
    Tushar

  2. #2
    Sencha User
    Join Date
    Nov 2010
    Posts
    209
    Answers
    4
    Vote Rating
    -2
      0  

    Default

    You can listen to the resize event of the grid

Posting Permissions

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