get RowIds for multiselect

When multiselect is disabled, I am using mygrid.cells(mygrid.getSelectedRowId(),0).getValue() to get the value of a cell. I’d like to turn multiselect back on, but am wondering how I can do the same thing when more than one row is selected.

Thanks!

Found it! Took this from deleteSelectedRows:

var num = mygrid.selectedRows.length;
for (i=num-1; i>=0; i--){
alert(mygrid.cells(mygrid.selectedRows[i].idd,0).getValue());
}