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. Image for the cookie policy date

Picture on button column

As a test I created a simple grid with a few columns rows, made the first column text and the rest 3d pushbuttons. I don't want row headers or column headers. But for a quick test, I left the column headers, selected the column in the designer, and tried both setting the background image for the buttons and adding an imagelist and setting the image list based image.. no matter what I don't ever see the image (16x16 pixels) on the buttons.

Any other settings needed?

1 Reply

AD Administrator Syncfusion Team November 9, 2006 09:37 AM UTC

Hi David,

If you want to display images in arbitrary pushbutton cell type, it probably will be simpler to handle the CellDrawn event, and just draw the image there after the grid has finished doing its default drawing.

Here is a sample.
http://www.syncfusion.com/Support/user/uploads/GCImageButtonCell_c5302390.zip

Best Regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon