This is a migrated thread and some comments may be shown as answers.

corner-radius for Grid?

1 Answer 1214 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Hernan
Top achievements
Rank 1
Hernan asked on 21 Dec 2011, 02:30 PM
is there a way to change a css "corner-radius" to grid... the atributes "k-grid-header" or "k-grid" dont work?

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 21 Dec 2011, 03:53 PM
Hi Hernan,

You can use the followind code. If you are not using grouping, then remove the grouping header CSS class and uncomment the other two lines in the second CSS rule.


.k-grid
{
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
    overflow:hidden;
}
 
.k-grouping-header /*,
.k-grid-header,
.k-grid-header table */
{
    -moz-border-radius:10px 10px 0 0;
    -webkit-border-radius:10px 10px 0 0;
    border-radius:10px 10px 0 0;
    overflow:hidden;
}
 
.k-grid-pager
{
    -moz-border-radius:0 0 10px 10px;
    -webkit-border-radius:0 0 10px 10px;
    border-radius:0 0 10px 10px;
    overflow:hidden;
}


Regards,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Hernan
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or