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

Image and Text in a GridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

29972 Jun 8,2005 11:31 AM UTC Jun 9,2005 05:22 AM UTC WinForms 2
loading
Tags: GridControl
Ranjit
Asked On June 8, 2005 11:31 AM UTC

How do we include an image and text in a GridGroupingControl? I tried to assign an imageIndex and text to a column in the QueryCellStyleInfo method. But only the text gets pushed not the image. Anything that I have missed out?

Administrator [Syncfusion]
Replied On June 8, 2005 01:55 PM UTC

If the cell is a TextBox or Static celltype, and you somehow how assign the style.ImageList, style.ImageIndex along with the style.Text, then I think this should work. Did you assign the style.ImageList? You did not mention it. You might try also setting (just as a test) something visible like e.Style.BackCOlor to make sure you are working with teh cell you think you are.

Ranjit
Replied On June 9, 2005 05:22 AM UTC

Thanks it worked. The assosciation with the ImageLIst was being set when teh component was getting drawn and the image was being set at "QueryCellStyleInfo". I have changed that to, setting the image and imageIndex at "QueryCellStyleInfo" Ranjit >If the cell is a TextBox or Static celltype, and you somehow how assign the style.ImageList, style.ImageIndex along with the style.Text, then I think this should work. > >Did you assign the style.ImageList? You did not mention it. You might try also setting (just as a test) something visible like e.Style.BackCOlor to make sure you are working with teh cell you think you are.

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.

Please sign in to access our forum

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

;