LS
Lingaraj S
Syncfusion Team
April 23, 2009 07:32 PM UTC
Hi Shayesteh,
Thank you for your interest in Syncfusion product.
If you want to get the numbered column header value, please try using GetNumericLabel method in GridGroupingControl. The GetNumericLabel method returns the row header value.
Please refer the code below:
this.gridControl1.QueryCellInfo += new GridQueryCellInfoEventHandler(gridControl1_QueryCellInfo);
void gridControl1_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)
{
if(e.ColIndex==1&&e.RowIndex>0)
{
e.Style.Text = GridRangeInfo.GetNumericLabel(e.RowIndex);
}
}
Let me know if you have any queries.
Regards,
Lingaraj S.