Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ke on Dec 01, 2009 02:02
open dhtmlx forum
dhtmlxGrid html #cspan

Hello,

Can i add #cspan in table during loading from HTML ? no use grid.setHeader("A,#cspan,B"); ?

For exemple :

<table class="dhtmlxGrid">
<tr>
<td width="150" align="left" cspan='2'>Column 1</td>
<td>Column 2</td>
<td>Column 3</td>
</tr>

Thanks
Best regards

Ke
Answer posted by dhxSupport on Dec 01, 2009 02:26
To merge 2 first cells in the grid header you can use:

<table class="dhtmlxGrid">
<tr>
<td width="150" align="left">Column 1</td> 
<td>#cspan</td> 
<td>Column 3</td>
</tr>
</table>