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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

cellcomment tips

Thread ID:

Created:

Updated:

Platform:

Replies:

46730 Jul 19,2006 03:10 PM UTC Jul 21,2006 06:41 AM UTC WinForms 1
loading
Tags: Grouping
Faraz
Asked On July 19, 2006 03:10 PM UTC

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

Administrator [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;