Getting the selected rows from DOJO Enhanced Grid :
The below line of code will help us to get the selected rows of the Enhanced griddijit.byId(gridId).selection.getSelected();
Getting the model value of the selected rows.
var selectedRows=dijit.byId(gridId).selection.getSelected();
for(int i=0;i<selectedRows.length;i++)
{
selectedRows[i].empName;
}
Thanks Albin :) It worked for me
ReplyDelete