Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by James on Sep 17, 2008 13:09
open dhtmlx forum
Sub Row HTML in dhtmlxGridFromTable

Hello,

We are using DHTML Grid 1.6 pro. We are building the grid from an HTML table using a class. We are able to render a sub row with plain text using the type sub_row. However if we try to add any html formatting (i.e. <B>My label</b> my text), the sub row will not render. Is there any special escaping that has to be done?

Thank you

James

Works
<table class="dhtmlxGrid">
<tr>
<td type="sub_row"> </td>
<td type="ro">A</td>
</tr>
<tr>
<td>text</td>
<td>B</td>
</tr>
</table>

Fails :

<table class="dhtmlxGrid">
<tr>
<td type="sub_row"> </td>
<td type="ro">A</td>
</tr>
<tr>
<td><I>text</I><br>X</td>
<td>B</td>
</tr>
</table>

Answer posted by dhtmlx support on Sep 18, 2008 02:34
Try escaping html tags as &lt;b&gt;