Hi
I have just migrated to latest version of dhtmlxgrids and have encountered an issue. I have imported all .js files into my jsp page and get the following issue.
“dhtmlxCombo is not defined” and is referring to dhtmlxgrid_filter.js
The grid (which was working) is defined as follows:
[code]function doInitGrid(xmlResponseString) {
dataGrid = new dhtmlXGridObject('dataGrid_container');
dataGrid.setImagePath("images/dhtmlx-imgs/grids/");
dataGrid.setSkin("light");
dataGrid.enableAlterCss("even_row","odd_row");
dataGrid.setHeader("${nodeColumnTitle},${branchColumnTitle},${nodeTypeColumnTitle},${colIdColumnTitle},${streetColumnTitle},${districtColumnTitle},${errorColumnTitle},${occurredColumnTitle}");
dataGrid.attachHeader("#text_filter,#text_filter,#combo_filter,#text_filter,#text_filter,#text_filter,#text_filter,#text_filter");
dataGrid.setInitWidths("90,90,85,110,150,110,180,110");
dataGrid.setColAlign("left,left,left,left,left,left,left,left");
dataGrid.setColSorting("int,int,str,str,str,str,str,str");
dataGrid.setColTypes("rotxt,rotxt,rotxt,rotxt,rotxt,rotxt,rotxt,rotxt");
dataGrid.enableAutoWidth(false);
dataGrid.enablePaging(true, 15, 10, "paging-area", true);
dataGrid.setPagingSkin("bricks");
dataGrid.enableColumnMove(true);
dataGrid.init();
dataGrid.enableHeaderMenu();
<%-- load the data --%>
dataGrid.parse(xmlResponseString);
<%-- the filters must be refreshed, as we add the data after the headers are initialised we need to make sure they pick up the new values --%>
dataGrid.refreshFilters();
}//doInitGrid[/code]
Thanks
Wimac