Hey,
I have a style problem.
For a TreeCell I created a new Style in my css called TreeCellLink.
The snippet from the css looks like that:
I adapted the containing urls.
In my Gui-Class I set the basestyle of the leaf-nodes:
This works perfectly in IE 8. In FF 5.0, Opera 11 and Comodo it doesn't work. Or I have to say, it works partly. When the node is selected, the correct style is seen, but when its not selected, its not correct.
I looked up the current styles via firebug and it is set correctly.
I'm using smartgwt 2.2.
Does anyone know that problem?
Thanks, GG
I have a style problem.
For a TreeCell I created a new Style in my css called TreeCellLink.
The snippet from the css looks like that:
Code:
.treeCellLink, .treeCellLinkDark, .treeCellLinkOver, .treeCellLinkOverDark, .treeCellLinkDisabled, .treeCellLinkDisabledDark, { font-family:Verdana,sans-serif; font-size:12px; text-overflow:ellipsis; color:blue; text-decoration:underline; cursor: pointer; } .treeCellLinkDark, .treeTallCellDark { background-color:#fafafa; } .treeCellLinkOver, .treeCellOverDark { background:#FFFFFF url(./sc/skins/Enterprise/images/ListGrid/row_Over.png) repeat-x bottom left scroll; } .treeCellLinkSelected, .treeCellLinkSelectedDark, .treeCellLinkSelectedOver, .treeCellLinkSelectedOverDark { font-family:Verdana,sans-serif; font-size:12px; text-overflow:ellipsis; background:#d9e4f6; text-decoration:none; color:#333333; } .treeCellLinkSelectedOver, .treeCellSelectedOverDark { background:#d0dff6 url(./sc/skins/Enterprise/images/ListGrid/row_Over_Selected.png) repeat-x bottom left scroll; } .treeCellLinkDisabled, .treeCellLinkDisabledDark, { color:#AAAAAA; background-color:#FFFFFF; }
In my Gui-Class I set the basestyle of the leaf-nodes:
Code:
node.set_baseStyle("treeCellLink");
I looked up the current styles via firebug and it is set correctly.
I'm using smartgwt 2.2.
Does anyone know that problem?
Thanks, GG
Comment