Categories | Question details Back To List | ||
How to work with DataProcessor using subgrid? Hi, How to work with data processor using subgrid? can the subgrid have independent dataprocessor? can u guys share any jsp / java samples for the same. We have the license for these components. Answer posted by Support on Apr 04, 2008 01:27 >>any jsp / java samples for the same. We can send jsp based sample for normal grid if necessary, there is no special samples for grid with subgrids ( contact us directly at support@dhtmlx.com if you need such sample ) >>How to work with data processor using subgrid? can the subgrid have independent dataprocessor? Subgrid is independent grid object, so it can't share the same dataprocessor instance as main grid, but you can attach independent dataprocessor to it. The init code will look similar to next. mygrid.attachEvent("onSubGridCreated",function(subgrid,id,index){ //will be called , each time when subgrid created var dp = new dataProcessor(url); // create new instance dp.init(subgrid); // attach it to subgrid return true; }) |