Sorry for the noob question how do I access the row id that it says in the documentation is provided in event onSubGridCreated
It will be provided as parameter of handler function
grid.attachEvent("onSubGridCreated", function(subgrid, id){
alert("Row id:" +id);
})