change font of a cell in a GGC

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


3 Replies

JJ Jisha Joy Syncfusion Team September 7, 2010 11:39 AM UTC

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



SP Sai Pavan Kumar September 7, 2010 02:08 PM UTC

Hey Jisha

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

kudos to you guysss !!!!




JJ Jisha Joy Syncfusion Team September 9, 2010 05:35 AM UTC

Hi Pavan,

Thank you for your feedback.

Regards,
Jisha


Loader.
Up arrow icon