Hello,
I’m trying to load up my grid using xml for the header and json for the rest of the data. Below is what I currently have:
myGrid = new dhtmlXGridObject("gridbox");
myGrid.setImagePath("dhtmlx/dhtmlxGrid/codebase/imgs/");
myGrid.enableSmartRendering(true);
myGrid.enableDistributedParsing(true, 100, 1000);
myGrid.enableMultiselect(true);
myGrid.enableRowsHover(true, "grid_hover");
myGrid.enableTooltips("false");
myGrid.makeFilter("filter", 0);
myGrid.init();
myGrid.setSkin("dhx_skyblue");
myGrid.load("header.xml",function(){
myGrid.load("data.json", "json");
});
With this code the header will load up properly, but the grid will not be populated with the data from the json file. Is there something I’m missing or am I going about this the wrong way? Thanks for any help…I can add any other code you need to see so feel free to ask!