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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid : How to hide "Built-in Toolbar Item" text ?

Thread ID:

Created:

Updated:

Platform:

Replies:

147362 Sep 7,2019 07:09 PM UTC Sep 10,2019 03:55 AM UTC Blazor 3
loading
Tags: Grid
Benoit
Asked On September 7, 2019 07:09 PM UTC

Hi!

I have a question.

Is it possible to hide the text of a Built-in Toolbar Item in the toolbar and show only the icon?
In my case, I configured toolbar like this :

<EjsGrid Toolbar="@(new List<string>() { "Add","Edit", "Delete", "Cancel", "Update"})" ... />

Best regards,

Benoit

Vignesh Natarajan [Syncfusion]
Replied On September 9, 2019 06:13 AM UTC

Hi Benoit,  

Thanks for contacting Syncfusion support.  

Query: “Is it possible to hide the text of a Built-in Toolbar Item in the toolbar and show only the icon? 

Yes, We can hide the text of inbuilt toolbar items. We suggest you to achieve your requirement by defining the below styles to toolbar elements. Refer the below style to hide the text of default toolbar items. 

<style> 
    .e-grid .e-control.e-toolbar .e-tbar-btn-text{ 
        display: none; 
    } 
</style> 

Refer the below screenshot for the output 

 
  
For your convenience we have prepared a sample which can be downloaded from below  

Please get back to us if you have further queries.  

Regards, 
Vignesh Natarajan 


Benoit
Replied On September 9, 2019 11:55 PM UTC

Hi Vignesh,

It works! Thanks a lot.

Benoit

Vignesh Natarajan [Syncfusion]
Replied On September 10, 2019 03:55 AM UTC

Hi Benoit,  

Thanks for the acknowledgement. 

We are glad to hear that your query has been resolved by our solution.  

Please get back to us if you have further queries.  

Regards, 
Vignesh Natarajan. 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon