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

How to get RowId or RowNo in the extrasection of the Grouping Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

52953 Dec 6,2006 09:54 AM UTC Dec 8,2006 12:22 PM UTC General Discussion 1
loading
Tags: General Discussion
ejaz
Asked On December 6, 2006 09:54 AM UTC

Hi,

I have added extra section in the Syncfusion GroupingGrid,even I was able to display summaries in extra section,but what is happening is if I add two extra row in the GroupingGrid and display Summaries in that,what it does is,it displays summaries in both the rows whereas I need to display summaries only on the first row of the extra section.

Later on I may need to add some more extra rows in the groupingGrid and want to display my custom values on them.

Pls reply asap

Thanks
Ejaz




Administrator [Syncfusion]
Replied On December 8, 2006 12:22 PM UTC

Hi Ejaz,
You can handle the QueryCellStyleInfo event to customize the ExtraSection cells in a grid.
Please refer this code snippet:

private void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
{
Element el = e.TableCellIdentity.DisplayElement;
if (el is ExtraSection)
{
e.Style.CellType = "Header";
e.Style.Text = "ExtraSectionCell";
e.Style.Font = new GridFontInfo(new Font(e.Style.GdipFont ,FontStyle.Bold));
}
}

Best Regards,
Jeba.

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.

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

;