dhtmlxgrid

i need to show in the footer the total qty of row selected. how to do that. please help

you can attach custom code to onSelect event and use any kind of calculation here

mygrid.attachEvent(“onRowSelect”,function(){
    var z=mygrid.getSelectedId();
    if (z){
       z=z.split(",");
       var summ=0;
       for (var i=0; i<z.length; i++)
               summ+=mygrid.cells(z[i],INDEX).getValue()*1;  
    }
})l