Hi,
filling a grid by consecutive calls to addRowData can be made 4 times faster if you don't remove the “alt” class from all TR and add a later on a gain for all TR:odd.
In addRowData(rowid, data, pos) change the row
if( t.p.altRows === true ) { $(“tr”, t.grid.bDiv).removeClass(“alt”); $(“tr:odd”, t.grid.bDiv).addClass(“alt”); }
to
if( t.p.altRows === true ) {
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top