How to only show the Image and not the text in a DropDownList of a GGC

I have added an image to the drop down list of a cell in a Grid Grouping Control (GGC). I have 4 items, they each have an image and a description and shows up like this when the user clicks the drop down button in the cell:

[IMAGE DESC]


I would like to only show the image, and not description.
How do I do that? The datatable I have set the GridGroupingControl.DataSource has the index of the image (0 - 3).

I would like to only show the cell like so:

[IMAGE]

and when the user selects, I want the cell to still only show the selected Image in the cell.

I using C#.

Thanks.


1 Reply

RB Ragamathulla B Syncfusion Team January 31, 2012 07:48 AM UTC

Hi Alberto,

Thank you for your interest in Syncfusion products,

You can achieve your desired behaviour by using GridListControl instead of DropDown. Please refer to the following sample which illustrates the same.

{Installed Path}\Syncfusion\EssentialStudio\{version}\Windows\Grid.Windows\Samples\2.0\Grid List Control\Grid List Control Demo

Let me know if you have any further concerns.

Regards,
Ragamathullah B.


Loader.
Up arrow icon