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

ColumnChooser en toolbar


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!!!

1 Reply

KV Karthikeyan Viswanathan Syncfusion Team 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.   


Loader.
Live Chat Icon For mobile
Up arrow icon