Following sample shows how to add “Show All” option to toolbar paging skin which will show all rows
mygrid.loadXML(url,function(){
var toolbar=mygrid.aToolBar;
toolbar.addListOption("perpagenum","show_all",0,"button","all options")
toolbar.attachEvent("onClick",function(val){
if (val=="show_all"){
mygrid.rowsBufferOutSize=99999999999999999999999999999;
mygrid.changePage();
toolbar.setItemText("perpagenum","all options");
}
})
});