I am using a grid with bound rows and a summary row. I would like to also format one of the bound rows to look like a summary row.
Is there a simple way to do this?
I've tried setting the cell element ThemeRole to "GridSummaryCellElement" in the CellFormatting event, but it didn't work
In order to achieve your goal, you can use the RowFormatting event and apply custom formatting to RadGridView's data rows. Summary row elements have specific BackgroundShape. Here is a sample code snippet demonstrating how to extract the RadImageShape from the theme and set it to a specific data row by using the RowFormatting event:
I hope this information helps. Should you have further questions, I would be glad to help.
Regards,
Dess
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.