Change ShowExportToExcelButton Size?

3 posts, 0 answers
  1. Virgilio
    Virgilio avatar
    2 posts
    Member since:
    Oct 2016

    Posted 17 Oct Link to this post

    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. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 20 Oct Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Virgilio
    Virgilio avatar
    2 posts
    Member since:
    Oct 2016

    Posted 20 Oct in reply to Rumen Link to this post

    This is great, thanks a lot!
Back to Top