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. Image for the cookie policy date
close icon

Increase size of Excel Export button on Grid?

Hi,

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


Thank you.

Neill

3 Replies

KR Keerthana Rajendran Syncfusion Team May 19, 2017 07:19 AM UTC

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.   
  
 



NE Neill May 19, 2017 07:40 AM UTC

It works great,

Thank you.


KR Keerthana Rajendran Syncfusion Team May 22, 2017 04:08 AM UTC

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. 


Loader.
Live Chat Icon For mobile
Up arrow icon