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.
Unfortunately, activation email could not send to your email. Please try again.

change font of a cell in a GGC

Thread ID:

Created:

Updated:

Platform:

Replies:

96289 Sep 3,2010 05:42 AM Sep 9,2010 01:35 AM Windows Forms 3
loading
Tags: Grouping
Sai Pavan Kumar
Asked On September 3, 2010 05:42 AM

Hi

I want to chnge the font of text in a cell inside a GGC.
i want to make the text BOLD..

can someone please get me through...

Thanks and regards
Pavan


Jisha Joy [Syncfusion]
Replied On September 7, 2010 07:39 AM

Hi Pavan,

You could achieve the desired behavior by handling the QueryCellStyleInfo event.

void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
{

if (e.TableCellIdentity.RowIndex == 4 && e.TableCellIdentity.ColIndex == 2)
e.Style.Font.Bold = true;
}

Regards,
Jisha


Sai Pavan Kumar
Replied On September 7, 2010 10:08 AM

Hey Jisha

thanks a lot for the help...
great support by syncfusion...

kudos to you guysss !!!!



Jisha Joy [Syncfusion]
Replied On September 9, 2010 01:35 AM

Hi Pavan,

Thank you for your feedback.

Regards,
Jisha


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.

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.

;