Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Aug 12, 2008 18:40
open dhtmlx forum
coro not populating after update

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 a column of type coro. I have an onafterupdate event defined in my code and in that i reload the grid using grid.loadXML('get.aspx'). The problem is that the grid loads fine initially when the page loads but when i try to reload the grid after save the column of type coro is empty. What could be the possible reasons for this strange behaviour?
Answer posted by Support on Aug 13, 2008 02:38
Please be sure to call
      grid.clearAll(true)
before full grid reloading, without such command reloading grid structure may ignore some parameters