Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tam Le on Aug 01, 2008 02:18
open dhtmlx forum
cell which type is "sub_row_grid" load data from a String

I want to load data for a cell which type is "sub_row_grid" from a string instead of the xml file or URL. How can I do that ?

Thanks/ Tam Le
Answer posted by Support on Aug 01, 2008 05:11

With latest version cam be done by adding next code to grid's initialization

grid.attachEvent("onSubGridCreated",function(sugrid,id,inde,content){
          subgrid.loadXMLString(content);
          return false;
})