
function test() {
if (document.getElementById("MyGrid")) {
var grid = document.getElementById("MyGrid").control;
for (var row = 0; row < grid.get_selectedRecords().length; row++) {
alert(grid.GetRecordsFromInnerGrid()[row][3].cells[1].outerText);
alert(grid.GetRecordsFromInnerGrid()[row][3].cells[2].outerText);
}
}
}
in this code how can i get the ROW ID ? please note that that the Id cannot be added to the view as a column..
please help :(
*This post is locked for comments
I have the same question (0)Hi,
Please check the below link,
lakshmanindian.wordpress.com/.../retrieve-subgrid-rows-in-crm-2011-using-jscript
harishgola.blogspot.in/.../read-subgrid-records-in-ms-crm-2013.html
Hope it will help you!!
Thanks
Jharana