PDA

View Full Version : Vertical lines bug in a table with multi-line cells



leonate
7 Jul 2008, 2:51 AM
1. Problem description

Let's assume you want to allow multi-line text in a table cells. This can be achieved by using next CSS style:
.my-tbl-data .my-tbl-item-cell-overflow {
overflow: visible;
white-space: normal;
}
Now let's assume you want to draw vertical lines for such table cells:
table.setVerticalLines( true );

In this case for those cells which have multi-line text the vertical lines will be displayed incorrectly. The lines will not stretch to the cell height.

2. GXT version
gxt-1.0_rc2

3. Host mode / web mode / both
both

4. Browser and version
FF 3.0 / IE 7.0

5. Operating system
Win XP pro