Categories | Question details Back To List | ||
A question about excell "ch" and Group function in DHTMLxGrid--part 2. This is continue your answer from the question as below: http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=1601&a=1847 And for your answer "If you plan to use dataprocessor and grouping in grid - you need to attach dataprocessor to grid only AFTER grouping" I have check with my code: ===>mygrid.groupBy(1); //======================================================== myDataProcessor = new dataProcessor("LHNListController.php"); myDataProcessor.enableDataNames(true); myDataProcessor.setUpdateMode("cell");//available values: cell (default), row, off myDataProcessor.defineAction("uuu",testFunc); myDataProcessor.setTransactionMode("GET"); ==>myDataProcessor.init(mygrid); function testFunc(obj){ alert("test"); } For excell type "ch" it will call testFunc twice but for type "co" it will not(one time). Is there anything wrong for my code? Answer posted by Stanislav on Dec 26, 2007 18:40 Actually there is no any critical issue with your code Please be sure that you called group functionality after loading data , you can use onXLE event or next syntac grid.loadXML(url,function(){ grid.groupBy(.... }); In other case functionality still work incorrectly. Unfortuantely, because our main pupils on vacations, till the January 8., I can't provide more detailed solution. |