Categories | Question details Back To List | ||
Dhtmlxgrid with Grouping hello team i have a question regarding grouping and ungrouping the records in dhtmlxgrid. i am using the sample code below <input name="q1" value="regroup by" onclick='mygrid.OI(document.getElementById("sel").value);' type="button"> <select id="sel"> <option value="0">Sales</option><option value="1">Book title</option><option value="2">Author</option><option value="3">Price</option> <option value="4">In Store</option><option value="5">Shipping</option></select> <a href="javascript:void(0)" onclick="mygrid.Mg()">expand </a>/<a href="javascript:void(0)" onclick="mygrid.KU()"> colapse</a> all groups<br/> where are the functions mygrid.Mg() and mygrid.KU() located. when i use them, firefox reports error saying the KU and Mg functions are invalid. i am using the below js files <script src="dhtmlx/library/dhtmlxGrid/codebase/dhtmlxcommon.js"></script> <script src="dhtmlx/library/dhtmlxGrid/codebase/dhtmlxgrid.js"></script> <script src="dhtmlx/library/dhtmlxGrid/codebase/dhtmlxgridcell.js"></script> <script src="dhtmlx/library/dhtmlxGrid/codebase/dhtmlXGrid_pgn.js"></script> <script src="dhtmlx/library/dhtmlxCalendar/codebase/dhtmlxcalendar.js"></script> <script src="dhtmlx/library/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_dhxcalendar.js"></script> <script src="dhtmlx/library/dhtmlxGrid/codebase/ext/dhtmlxgrid_filter1.js"></script> <script src="dhtmlx/library/dhtmlxDataProcessor/codebase/dhtmlxdataprocessor.js"></script> <script src="dhtmlx/library/dhtmlxGrid/codebase/ext/dhtmlxgrid_srnd1.js"></script> <script src="dhtmlx/library/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_dec1.js"></script> <script src="dhtmlx/library/dhtmlxGrid/sources/ext/dhtmlxgrid_group.js" type="text/javascript"></script> <script src="dhtmlx/dhtmlxgrid_excell_link.js"></script> <script src="dhtmlx/dhtmlxgrid_splt.js"></script> Please advice Answer posted by Support on Aug 19, 2009 10:27 >>mygrid.Mg() and mygrid.KU() located Please use the js files from the packages, not the compressed versions from online samples. ( they have correct real names of methods , not the compressed abbreviations ) Answer posted by whcih js file on Aug 19, 2009 11:14 please let me know which js file Answer posted by Alex (support) on Aug 20, 2009 07:21 All files that you mentioned (dhtmlxGrid/codebase/dhtmlxgrid.js and others), but from the official PRO package. |