AD
Administrator
Syncfusion Team
July 21, 2006 06:41 AM UTC
Hi Faraz,
GroupingGrid doesn''''t store any cell style properties. You have to provide such properties on demand through QueryCellInfo. Please try this code snippet to acheive this.
private void gridGroupingControl1_QueryCellStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellStyleInfoEventArgs e)
{
if(e.TableCellIdentity .ColIndex > 2 && e.TableCellIdentity.RowIndex > 2)
{
(new ExcelTip.GridExcelTipStyleProperties(e.Style)).ExcelTipText = "(" + e.TableCellIdentity .RowIndex.ToString() + "," + e.TableCellIdentity.ColIndex +")"; ;
e.Handled = true;
}
}
Here is a sample.
http://www.syncfusion.com/Support/user/uploads/GroupingcommentTips_ac04b88f.zip
Thanks
Haneef