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.

ColumnChooser en toolbar

Thread ID:

Created:

Updated:

Platform:

Replies:

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


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 06:12 AM

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.

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.

;