I have written below class:
.cellstyle
{border: 1px solid white;}
I am applying it on ItemCssClass="cellstyle"
Which does not give borders to cell however other class
.headerstyle{border: 1px solid white;}
which is applied on
HeaderCaptionCssClass
="headerstyle"
works i.e. gives borders to headers. New to WebDataGrid. Please help how I give borders to cells.
Yes. Thanks a lot.
Hi aparna_k,
Thank you for posting in the community.
I suggest that you take a look at the following guide for styling WebDataGrid:
http://forums.infragistics.com/blogs/engineering/archive/2010/08/25/webdatagrid-css-styling-guide.aspx
In order to style WebDataGrid, a CSS class needs to be defined with the necessary selectors:
"tbody.NewCellClass > tr > td
{
/*styles*/
}"
Please let me know if this helps.