DBTreeview problem in 3.5 when using HTML

Hello,

I use HTML to display the node text in the DBTreeView (the HTML is calculated for every node). The HTML is generated more or less like this:

vHtml = '';
vHtml += '<html>'
vHtml += '<head>'
vHtml += '<style type="text/css">'
vHtml += ''
vHtml += '</style>'
vHtml += '</head>'
vHtml += '<body>'
vHtml += '<span class="style2">' + bezeichnung + '</span>'
vHtml += '</body>'
vHtml += '</html>'

In Servoy 3.1 this works great. In 3.5 the single row gets very wide. That means, if you select a node you get a highlighted area that spans across almost the whole screen, resulting in unnecessary scrollbars etc.

Can this be fixed?

Thanks
Patrick

P.S.: It appears that the creates the problem. But in 3.1 there is no problem.

Have you created a case for this in the Support system?

Paul

hi to all,

this issue has been fixed in version 3.5.1

Hello Gabi,

could you post that new version to the beta downloads so I can look at it and use it?

Thanks
Patrick

Hi Patrick,

here you can download the dbtreeview plugin for testing :
http://www.servoy.com/downloads/beta/35 … eeview.jar

regards

Thanks!

Hello Gabi,

this issue is not fixed. The highlighting “block” gets still very wide…

Thanks
Patrick

btw: the HTML I am testing with now doesn’t have any span in it…

I have made a sample and sent to you (as message in the forum)…