How can i Get selected cell value and all value ?
I test code. but GetCellElement method always return null.
what's wrong? Help me.
I test code. but GetCellElement method always return null.
what's wrong? Help me.
private void rndButton1_Click(object sender, EventArgs e)
{
foreach (PivotGroupNode rowNode in this.radPivotGrid1.PivotGridElement.GetRowGroups())
{
if (rowNode.Group == null) continue;
foreach (PivotGroupNode columnNode in this.radPivotGrid1.PivotGridElement.GetColumnGroups())
{
if (columnNode.Group == null) continue;
var cell = this.radPivotGrid1.PivotGridElement.GetCellElement(columnNode, rowNode);
if (cell == null) continue; <== always return null
Console.Write(cell.Value);
}
}
}