Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Removing the space occupied by a Hidden listgrid

    Hi,

    I am loading the headers of a listgrid(lstgrd) dynamically using Struts.
    So I am having the listgrid in a .jsp file and I am loading it using window.setSrc() method.
    The data to the listgrid I am loading using the lstgrd.fetchData() method.
    Now, I am trying to avoid having the Struts in between and loading everything using SmartClient alone.

    I have also got an idea to do the same.

    I can have a hidden listgrid(lstHdrGrd) which will fetch the Headers for the Listgrid(lstgrd) using lstHdrGrd.fetchData().
    Now I can fetch the data for lstgrd using lstgrd.fetchData() and the headers I can form using the data which I have already fetched in the listgrid lstHdrGrd.

    Now the problem I face here is, the hidden listgrid lstHdrGrd is occupying some space in the Stack I am loading it. Is there any way in which I can make that space free and load my other elements in that space?

    Please give me inputs for these queries as soon as possible.


    Thanks,
    Vineeth.

    #2
    A hidden ListGrid (visibility:"hidden") inside a VStack or HStack does not normally occupy space. If the problem is that the Stack as a whole is taking space, you can set overflow:"hidden" on it.

    Comment

    Working...
    X