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

Showing Image on Grid Button

Hi I have set the type of one column in my grid as "Push Button". Now I want to show an icon on it. I tried to the image list property of Grid Cell but it is not working Can any one guide me how can I do that

1 Reply

AD Administrator Syncfusion Team May 24, 2004 05:53 AM

The grid\samples\in depth\cellbuttons sample has a cell control that places a bitmap on a button. You could use the same control in your code to have a bitmap button. When using this sample, there is a line that reads: iconPainter = new GridIconPaint("CellButtons.", typeof(EllipsisCellButton).Assembly); The ''CellButtons.'' in the line is the namespace where you have embedded the bitmap resource, so make sure it is set properly or your bitmap will not show up.

Loader.
Live Chat Icon For mobile
Up arrow icon