I accidently solve this but if any can explain this please help.

I try to figure out by deeping into Tablepane.js
But it too complicated for me.



Alex D. wrote:
Hi Sirichoke,

Thx for your help - it works now. But i still don't get it. I have already debugged the code with USE_ARRAY_JOIN = false option and it looks fine in debugger. No double lines, everything as expected. I would like to understand.

Best Regards,
alex.d
add

qx.ui.table.TablePane.USE_ARRAY_JOIN = true;

as in Table2.html

Alex D. wrote:
Hi folks,

i hope you could help me with this issue: i want my table to have HTML-cells(by default all html-tags are filtered out). So i have overridden the escapeHtml function in DefaultDataCellRenderer class like here:
=========================*snip*=========================
qx.ui.table.DefaultDataCellRenderer.escapeHtml = function(html)
{
    //no escape-filtering here
    return html;
};
=========================*snap*=========================
but it doesn't work like expected. What i push in rowData array is:
*"First line<br/>second line<br/>third line"*
and what i have in the page-source code is:
*<div style="....">First line&lt;br/&gt;second line&lt;br/&gt;third line<br>second line<br>third line</div>* You can see this in FF if you enable the context menu, then "Select All", then "view selection Source".
What i don't get is - why are the lines twice there?
I have slightly modified Table_1.html from /frontend/demo/source/html/test/ to demonstrate this. You should scroll the table to see the issue.

Best Regards,
alex.d


------------------------------------------------------------------------

------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to