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

Adding two images to a cell

Can i add two icons in a cell in databound grid control?

1 Reply

AD Administrator Syncfusion Team February 7, 2005 12:27 PM UTC

Yes. One way to do it is the use the CellDrawn event and draw as many bitmaps as you would like. Set the TextMargins on the GridBoundColumn.StyleInfo to reserve the space to display the bitmaps. See this forum thread for some code snippets (Use CellDrawn and not DrawCell , and use the GridBoundColumn.StyleInfo instead of the indexer to set the style properties) as shown in the code there). http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=16748

Live Chat Icon For mobile
Up arrow icon