Categories | Question details Back To List | ||
A question about excell "ch" and Group function in DHTMLxGrid Today, I found a function--Group by that can fulfill my requirement. But I found there is a little strange while I trigger the dataprocessor with cell type "ch"(the one like checkbox). I use a define action myDataProcessor.defineAction("uuu",testFunc); function testFunc(obj){ alert("test"); return true; } And set attach event "onEditCell" to check which cell has been changed. But while mygrid.groupby(1) was called then the alert("test") is called twice. That should means the testFunc has been called twice. Because I will have something to check on the server side and feedback to client then call testFunc(Maybe open a new window.). If this problem exist, it should be open 2 windows. Do you have any suggestion to solve it? Thanks for your kind support. Answer posted by Stanislav on Dec 25, 2007 17:20 If you plan to use dataprocessor and grouping in grid - you need to attach dataprocessor to grid only AFTER grouping, in other case dataprocessor will send command for new rows, which will be added as group headers. |