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

Radgrid Command item

1 Answer 207 Views
Grid
This is a migrated thread and some comments may be shown as answers.
jim
Top achievements
Rank 1
jim asked on 09 Oct 2017, 07:45 PM

I have selected the 'Show Add New Record Button' in the command item setting options. Can the button be formatted? ie change size, color. Or can the font size of the text be bigger?

Thank you in advance,

Jim

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 11 Oct 2017, 03:23 PM
Hi Jim,

There are two possible ways to style the "Add new record" button of the Grid:
 - You can access the button element and style it directly via CSS:   
.RadGrid table.rgCommandTable td a[title="Add new record"] {
    color: red;
    font-size: 24px;
}


- or you can use CommandItemTemplate and define your own "Add new record" button in it. You can see a sample implementation of this in the following forum post:
http://www.telerik.com/forums/radgrid-add-new-record-5882b3126a05#6aBe8dwKB0mbJ_W8QPsgKQ

Regards,
Vessy
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
jim
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or