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

Change ShowExportToExcelButton Size?

2 Answers 174 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Virgilio
Top achievements
Rank 1
Virgilio asked on 17 Oct 2016, 10:32 PM

Hello, I've been using the export to excel settings in the rad grid, which works great, but many of the users that work with my system have been complaining on the button size since it seems to be pretty small, I tried to change it myself but didn't seem to find a property to do that, I've only been able to change the command items bar but the button stays the same size.

Is there any way to change the button size and place for the "CommandItemSettings ShowExportToExcelButton"?

I leave my code below

        <MasterTableView  CommandItemDisplay="Top">
    <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowExportToPdfButton="true" ShowRefreshButton="false"/>

Thanks a lot!

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 20 Oct 2016, 12:58 PM
Hi Virgilio,

You can change the font size of the Excel font icon using the following CSS class:

<style>
    .RadGrid .t-font-icon:before {
        font: 23px/1 "TelerikWebUI" !important;
    }
</style>

Here is a video demonstration in the Export to Excel demo: http://screencast.com/t/dOw5EoYBT.

Best regards,
Rumen
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
0
Virgilio
Top achievements
Rank 1
answered on 20 Oct 2016, 02:37 PM
This is great, thanks a lot!
Tags
Grid
Asked by
Virgilio
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Virgilio
Top achievements
Rank 1
Share this question
or