mygrid.loadXML("get.php",function(){
mygrid.forEachRow(function(id,ind){
var colval=mygrid.cellById(id,5).getValue();
var currentTime = new Date();
var month = currentTime.getMonth() + 1;
var day = currentTime.getDate();
var year = currentTime.getFullYear();
var hours = currentTime.getHours();
var minitues = currentTime.getMinutes();
var secs = currentTime.getSeconds();
var currDate=(year+"-"+month+"-"+day+" "+hours+":"+minitues+":"+secs);
if(colval>currDate){
mygrid.setRowColor(id,"red");
}
});
});
[b]They above code can change the first page row bgcolor only . the same condition data is many in the 2nd page.. if i navigate the 2nd page in mygrid, cant change the row bgcolor depends on the condition.[/b]. what is the reason?
My paging code:::
mygrid.enablePaging(true, 25, 10, "pagingArea", true, "infoArea");
mygrid.setPagingSkin("bricks");
plz help me ,
its very very urgent…
thanks in advance,…