Categories | Question details Back To List | ||
Can I use colum type tree and select_filter together in a dhtmlXGridObject ? Does DHTMLX permit to use select_filter and column type as tree in dhtmlXGridObject ? When I use it one by one it works fine, but when I use both select_filter and column type as tree I get not supported error. Code ------ <link rel="STYLESHEET" type="text/css" href="js/dhtmlxTreePro/js/grid/dhtmlxgrid.css"> <script src="js/dhtmlxTreePro/js/dhtmlxcommon.js"></script> <script src="js/dhtmlxTreePro/js/dhtmlxtree_er.js"></script> <script src="js/dhtmlxTreePro/js/grid/dhtmlxgrid.js"></script> <script src="js/dhtmlxTreePro/js/grid/dhtmlxgridcell.js"></script> <script src="js/dhtmlxTreePro/js/grid/dhtmlxtreegrid.js"></script> <script src="js/dhtmlxTreePro/js/grid/ext/dhtmlxgrid_filter.js"></script> <div id="mygrid_container" style="width:452px;height:250px;"></div> <body onload="doInitGrid();"> <script> var mygrid; function doInitGrid(){ mygrid = new dhtmlXGridObject('mygrid_container'); mygrid.setImagePath("js/dhtmlxTreePro/imgs/"); mygrid.setHeader("Type,Business,Date Identified"); mygrid.attachHeader("#rspan,#select_filter,#select_filter") mygrid.setInitWidths("150,150,150"); mygrid.setColAlign("left,right,right"); mygrid.setColSorting("str,int,int"); mygrid.setColTypes("tree,er,er"); mygrid.setSkin("light"); mygrid.init(); mygrid.loadXML("test.xml"); } </script> Thanks in advance. Answer posted by Support on Jun 02, 2009 05:15 Be sure to include one more js file dhtmlxtreegrid/ext/dhtmlxtreegrid_filter.js |