Hello Quang,
To add a checkbox to each grid item would involve either some custom template work or a new Grid widget all together.
However the API get the items selected from the grid is fairly simple and already works:
var grid = $find("C003_ctl00_ctl00_EntityRecordListGrid");
var items = grid.get_selectedItems();
for(var i = 0; i < items.length; i++) {
var item = items[i];
var contactid = item.getDataKeyValue("contactid");
// do something with contactid
}
To allow selection of multiple items you must enable it by modifying the template and setting the
AllowMultiRowSelection property on the RadGrid control to "True"
Regards,
Clinton
Last modified on 23 Jun 2016 20:06 by Clinton Bale