😢 some problem about dhtmlxLayout and dhtmlxGrid

when i use dhtmlxLayout and dhtmlxGrid

function loadBasicInfo(){
var basicInfoGrid;
basicInfoGrid = mainLayout.cells(“a”).attachGrid();
basicInfoGrid.setImagePath(path+“/js/dhtmlx/codebase/imgs/”);
basicInfoGrid.setHeader(“Column A,Column B,Column C”);
basicInfoGrid.setInitWidths(“120,,”);
basicInfoGrid.setColAlign(“left,left,left”);
basicInfoGrid.setColTypes(“dyn,ed,ed”);
basicInfoGrid.setColSorting(“str,str,str”);
basicInfoGrid.init();
basicInfoGrid.setSkin(“dhx_skyblue”);
basicInfoGrid.loadXML(path+“/DhtmlxServlet?action=test1”);
}

when i use this method,it can not show the normal data.



in this picture,the gird with checkbox or show the number 0 in grid cell,the first column.
i have no idea…

but the xml data from server is okay,you can see the pitcture

i have upload a java project.
the jsp is : complexIndex.jsp and complexIndex.js

can you help me find my mistake.

the java project i test
just now .i forgot upload the project.
dhtmlx.zip (1.03 MB)

Please, check your image path:



Your first column (“dyn”) is a “sales” column:
docs.dhtmlx.com/grid__columns_ty … alescolumn

thx,i made so biggest mistake
thanks so much.

can i ask a question?dhtmlx3.6 pro upgrade to 4.0.3pro what should i take care.

You are welcome.

Here is the tutorial about the migration from 3.6 to 4.x version of dhtmlx:
docs.dhtmlx.com/migration__index.html