This adding will open lot of opportunities to developers. We could perform a data preprocess before loading data in grid!
In grid.base.js when making ajax call to server
|
1 2 3 4 5 |
success:function(req,st) {<br /> +++ if(ts.p.dataPreprocessor !== undefined) ts.p.dataPreprocessor(req);<br /> if(dt === "xml") { addXmlData(req,ts.grid.bDiv,rcnt,npage>1,adjust); }<br /> else { addJSONData(req,ts.grid.bDiv,rcnt,npage>1,adjust); }<br /> ............ |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top