var sm = grid.getSelectionModel();
var store = grid.getStore();
var view = grid.getView();
for(var i = 0; i < view.getRows().length; i ++){
if(sm.isSelected(i)){
var record = store.getAt(i);
var name = record.get("rec_name");
var url = record.get("rec_url");
alert(name + "," + url);
}
}