BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
#Form1.cs
private Syncfusion.Windows.Forms.Grid.GridDataBoundGrid gridDataBoundGrid1;
public Form1()
{
InitializeComponent();
InitializePivotGrid();
this.pivotGridControl1.TableControl.CellClick += TableControl_CellClick;
}
//Get the raw items for selected cells(value and sumary cells)
private void TableControl_CellClick(object sender, Syncfusion.Windows.Forms.Grid.GridCellClickEventArgs e)
{
PivotGridControlBase pivotGridControlBase = sender as PivotGridControlBase;
if (pivotGridControlBase != null)
{
int row = pivotGridControlBase.CurrentCell.RowIndex - 1;
int col = pivotGridControlBase.CurrentCell.ColIndex - 1;
var rawItems = this.pivotGridControl1.PivotEngine.GetRawItemsFor(row, col);
this.gridDataBoundGrid1.DataSource = rawItems;
}
}
|