SmartGWT 2.3 Pro (2010-08-03)
IE 8.0.7600.16385
Windows 7
Hi All,
When I pass an HTML string (fragment) containing a table definition to Canvas.setContents it is displayed as one would expect in both FF and Chrome, but in IE all style information included is ignored.
In case anyone is wondering, I would much rather build up a series of HLayout/VLayout elements programmatically to create the table structure but although I got the layout logic to work fine (including with cells spanning multiple rows) I had troubles with getting the precise eventual column widths correct due to the nested layers, hence I had to resort to generating HTML to supply to a canvas.
Has anybody had specific experience with style information being ignored by IE?
I have a workaround and that is to specify all style information for the table element, and each <tr>, <th>, <td> element but this is quite ugly.
I've attached a sample generated html file which when viewed in all three browsers looks fine, but when the same string is passed to the setContents method doesn't produce the expected results when the current browser is IE.
IE 8.0.7600.16385
Windows 7
Hi All,
When I pass an HTML string (fragment) containing a table definition to Canvas.setContents it is displayed as one would expect in both FF and Chrome, but in IE all style information included is ignored.
In case anyone is wondering, I would much rather build up a series of HLayout/VLayout elements programmatically to create the table structure but although I got the layout logic to work fine (including with cells spanning multiple rows) I had troubles with getting the precise eventual column widths correct due to the nested layers, hence I had to resort to generating HTML to supply to a canvas.
Has anybody had specific experience with style information being ignored by IE?
I have a workaround and that is to specify all style information for the table element, and each <tr>, <th>, <td> element but this is quite ugly.
I've attached a sample generated html file which when viewed in all three browsers looks fine, but when the same string is passed to the setContents method doesn't produce the expected results when the current browser is IE.
Comment