Shows a modal dialog containing the detail information that defines the content of a specific cell in the grid.
The code below handles the grid's
DoubleClick event to check which cell was clicked, then invokes the
ShowDetail method to display a modal dialog containing all the raw data items that were used to calculate the value of the cell that was clicked.
void OlapGrid_DoubleClick(object sender, MouseButtonEventArgs e)
{
var grid = _c1OlapPage.OlapGrid;
var ht = grid.HitTest(e);
if (ht.CellType == CellType.Cell && ht.Row > -1 && ht.Column > > -1)
{
grid.ShowDetail(ht.Row, ht.Column);
}
}