Layout- cell collapse problem


I am having a problem with the collapsing of the cells in my layout. I dynamically collapse some cells of the layout but see a thick border of the cell even after it is collapsed. I don’t want any header also for the cell so I have hidden the header also. I only want to collapse/ expand the cells programatically but because of the thick border shown for the cell when it is collapse my whole layout does not look good.

Please suggest a solution.

Thanks in Advance.


unfortunately layout API doesn’t allow to define border height.

We have attach the document with description for layout css styles. Please, take a look. Possibly it’ll help

layoutsize.txt (2.1 KB)