Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Apr 17, 2008 06:29
open dhtmlx forum
Coro

Response.Write("<column width=\"75\" id=\"state\" type=\"coro\" align=\"left\" sort=\"str\">" State);
Response.Write("<option value=\"0\">Active</option>");
Response.Write("<option value=\"1\">Inactive</option>");
Response.Write("</column>");

Iam using the above code to define one of the columns and i have problem that when i double click on the state cell in the grid which contains a value say Active the coro opens up with Active,Inactive and Active again. It should have been just Active and Inactive in the coro. What am I doing wrong?
Answer posted by Support on Apr 17, 2008 08:30
When defining cell value you need to use value of combo, not label
In case of above initialization, next is incorrect way to set data
    <cell>Active</cell>
And next is correct way to set data
    <cell>0</cell>