Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on May 14, 2008 21:24
open dhtmlx forum
coro alignment

Dear support,

I am using the dhtml grid with coro column type.

<rows>
<row id="3" selected="1">
<cell>-200</cell>
<cell xmlcontent="1">1<option value="1"><![CDATA[Procurement Plan]]></option>
<option value="2"><![CDATA[Procurement Plan11]]></option>
<option value="3"><![CDATA[   ]]></option>
</cell>"
</row>
</rows>

In the above sample, I am putting the   for showing the border in grid. otherwise the grid show without the border.here the problem is option list show   as a option instead of blank space. If i put the blank space it also show without border. how can hide   from user view.

thanks,

karthik
Answer posted by Support on May 15, 2008 05:25

If you not plan to use HTML inside your options, you can try to use "corotxt" type of cell instead of "coro", it works the same , but accepts only text values

mygrid.setColTypes("ro,corotxt");
....
<row id="3" selected="1">
<cell>-200</cell>
<cell xmlcontent="1">1<option value="1"><![CDATA[Procurement Plan]]></option>
<option value="2"><![CDATA[Procurement Plan11]]></option>
<option value="3"><![CDATA[   ]]></option>
</cell>

The whitespace used as options will be correctly preserved, so IE will render correct borders around the cell and in the same time it will be shown as plain whitespace in options list.