Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

ASPxGridView - How to display a circle in a DataCell via CSS styles

$
0
0

This example demonstrates how to display a circle in a DataCell via CSS only

1) Define a custom CSS class;
2) Set its width and height styles to the same value;
3) Set the border-radius style to"50%" to define a circle element;
4) Define a div tag/container in GridViewDataColumn.DataItemTemplate and apply the defined CSS class to it.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>