We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

cellcomment tips

Is there any example around where I can implement cellcomment tips for GroupingGrid cells? I see an example for DataBound Grid, but not for grouping.

thanks

1 Reply

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

Loader.
Live Chat Icon For mobile
Up arrow icon