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.
Syncfusion Feedback

ColumnChooser en toolbar

Thread ID:

Created:

Updated:

Platform:

Replies:

127986 Dec 22,2016 08:10 PM UTC Dec 23,2016 11:12 AM UTC ASP.NET MVC 1
loading
Tags: Toolbar
César Ventura
Asked On December 22, 2016 08:10 PM UTC


Hola!!

Estoy intentando colocar la opción de ColumnChooser dentro de la toolbar
pero hasta ahora sin éxito, quisiera saber cual sería la mejor manera de implementar esto,

de antemano muchas gracias.


saludos!!!

Karthikeyan Viswanathan [Syncfusion]
Replied On December 23, 2016 11:12 AM UTC

Hi César Ventura,   
  
 Thanks for contacting Syncfusion Support.   
  
Based on your scenario, we have prepared a custom sample for toolbar column chooser.  You can access a toolbar items by ID and you can achieve your scenario. Please refer to the below code snippet to customize the toolbar items dynamically:   
  
<code>   
var toolbar = $("#editingToolbar").data("ejToolbar");   
  if(args.isChecked)   
     toolbar.itemsContainer.find("li#" + args.value).css("display","none");   
  else   
      toolbar.itemsContainer.find("li#" + args.value).css("display", "block");   
<code>   
  
   
  
Regards,   
Karthikeyan V.   


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.

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

;