Hi,
Earlier we were using rad grid version of Q3 2007. Now we are migrating it to Q2 2009.
My OnRowCreated event goes like this,
function onRowCreated(rowObject)
{
if(rowObject.ItemType == "NestedView")
{
var nestedTable = rowObject.Control.cells[1].childNodes[0];
if(nestedTable != null && nestedTable.tBodies[0].rows.length == 1 && nestedTable.innerHTML.indexOf("No child records to display.") != -1)
{
var parentRow = this.Control.rows[rowObject.Control.rowIndex - 1];
parentRow.cells[0].childNodes[0].style.display = "none";
rowObject.Control.style.display = "none";
}
}
}
Now i need to convert this to rad grid version of Q2 2009.
I couldnt find how to convert rowObject.ItemType to the latest one.
If anybody knows how to convert this above function to the Q2 2009 version please let me know.
Thanks in advance