Categories | Question details Back To List | ||
layout - grid problem Hi, We have a jsp layoutDemo.jsp which uses 4I layout to draw 4 sections. The contents of each section are drawn by calling attachURL functions. One of the section contents is a page having a grid with other html elements. The problem that we are facing is that on expanding/collapsing a section, the grid does not re size itself. But on refreshing the section having the grid, it adjusts itself as per the space available and re sizes. We can not use attachGrid function as the section having the grid is an existing page of our application which contains a lot of other html contents apart from the grid. Hence, it can only be called using a URL. The support team suggested us to attach events and call grid.setSizes function. The problem here is that the layout is defined in a separate jsp file and the grid is defined in another. Hence, we do not have access to the grid object on which we can call this function. Please suggest on how to get the grid object defined in one jsp in the jsp which has layout code. The layout jsp is calling the other jsp using attachURL function. Thanks, Gaurav Arora Answer posted by Support on Dec 22, 2008 03:59 |