We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Increase size of Excel Export button on Grid?

Thread ID:

Created:

Updated:

Platform:

Replies:

130569 May 18,2017 07:00 AM May 22,2017 12:08 AM ASP.NET MVC 3
loading
Tags: Toolbar
Neill
Asked On May 18, 2017 07:00 AM

Hi,

How do I increase the size of the Excel Export button on a grid?    


Thank you.

Neill

Keerthana Rajendran [Syncfusion]
Replied On May 19, 2017 03:19 AM

Hi Neill,   
   
Thank you for contacting Syncfusion support    
   
By default, the font-size of e-icon will be 14px. We suggest you to use the cssClass property of Grid to change font-size for toolbar icon and to increase the width of toolbar li. Please refer to below code snippet   
   
@(Html.EJ().Grid<OrdersView>("FlatGrid")   
        .Datasource((IEnumerable<object>)ViewBag.datasource).CssClass("custom"))   
   
<style>                                                                                 
.custom .e-excelIcon   
{   
    font-size:30px;   
}   
.custom .e-tooltxt{   
    width:50px;   
}   
</style>   
   
   
We have prepared a sample for your reference.    
   
Please refer to the below given links   
   
   
   
   
Regards,   
Keerthana.   
  
 


Neill
Replied On May 19, 2017 03:40 AM

It works great,

Thank you.

Keerthana Rajendran [Syncfusion]
Replied On May 22, 2017 12:08 AM

Hi Neill, 
 
Thanks for your update. Please get back to us if you require any further assistance on this. We will be happy to assist you. 
 
Regards, 
Keerthana. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;