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 Add image column for gridgrouping control

Thread ID:





73064 Apr 18,2008 06:13 AM UTC Apr 25,2008 10:40 AM UTC WinForms 1
Tags: GridControl
venkataramu c
Asked On April 18, 2008 06:13 AM UTC

How to Add image column in GridGrouping control and How set particular FullRow color is Red in GridGrouping Control

Thanks in Advance

Administrator [Syncfusion]
Replied On April 25, 2008 10:40 AM UTC

Hi Venkat,

Add image column in GridGrouping control.

This can be achieved by setting the celltype of the gridcell to "Image". Below is a code that shows this task.

this.gridGroupingControl1.TableDescriptor.Columns[2].Appearance.AnyCell.CellType = GridCellTypeName.Image;

How set particular FullRow color is Red in GridGrouping Control.

This can be achieved by handling the TableControlPrepareViewStyleInfo event. Please refer the code:

this.gridGroupingControl1.TableControlPrepareViewStyleInfo += new Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlPrepareViewStyleInfoEventHandler(gridGroupingControl1_TableControlPrepareViewStyleInfo);

void gridGroupingControl1_TableControlPrepareViewStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlPrepareViewStyleInfoEventArgs e)

if (e.Inner.RowIndex == 6)
e.Inner.Style.BackColor = Color.Red;

Please refer the sample:

Please try this and let me know if this helps.



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

This page will automatically be redirected to the 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