I have put logic on the row to allow selection anywhere in the row to create a popup window.
ClientSideOnItemSelected = OnItemSelected
function OnItemSelected(grid)
{
var item = '';
var div = "";
var cell = "";
var link = "";
var info = "";
item = grid.getSelectedItem();
div = document.getElementById("divInfo");
cell = item.getCell(0);
info = "Selected Item Index: " + cell.getValue();
div.innerHTML = info;
link = 'MoreInfo.aspx?id=' + cell.getValue();
if (cell.getValue() != previous_call)
{
MM_openBrWindow(link,'info','width=305,height=470,top=270,left=100');
link.focus();
}
item.getCell(0) != '';
previous_call = cell.getValue();
}
I have a couple of issues with it.
1.
I would like the cursor to change to a hand when the user mouses over the row so they know it is clickable. Is that possible?
2.
I want all the drilldown to appear in the same window (not new windows). That appears to work except I don't always get the focus going to the new window.
3. This Javascript logic appears faulty when run with IE8. I suspect there is a better way of handling the popup that is more reliable.