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 load a image for a column in GridGroupingControl?

Platform: WinForms |
Control: GridGroupingControl |
Published Date: February 15, 2016 |
Last Revised Date: March 21, 2016

To load an image for a column in grid grouping control, the following ways can be used,

                        1. QueryCellStyleInfo event.

                        2. Using Appearance property.

Using QueryCellStyleInfo event

In this method, the cell type of a column is changed to image cell and image can be loaded by adding an image to a list and assigned that list to ImageList Property. Particular image can be set by setting the Index of an image using ImageIndex Property.

Code Snippet

C#

 

VB

Using Appearance property

An image can be loaded for a column by setting Appearance.AnyRecordFieldCell.CellType to image cell for specific columns.

Code Snippet

C#

 

VB

 

C:\Users\piruthiviraj.malaime\Desktop\img1.PNG

Sample Links

C#: Loading an image_CS

VB: Loading an image_VB

 

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

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