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

How to use methods in my own buttons

Thread ID:

Created:

Updated:

Platform:

Replies:

147077 Aug 30,2019 10:07 PM UTC Sep 2,2019 10:06 AM UTC React - EJ 2 1
loading
Tags: Gantt Chart
Sebastian
Asked On August 30, 2019 10:07 PM UTC

How to use methods in my own button, for example the method "expandAll()"

Punniyamoorthi Elangovan [Syncfusion]
Replied On September 2, 2019 10:06 AM UTC

Hi Sebastian, 
Thank you for contacting Syncfusion support. 
We have analyzed your requirement. As per your requirement we have prepared the sample to handle the public methods with custom button click actions, you can find the sample from below link 
In above sample we have rendered two buttons (ExpandAll/ CollapseAll) and the user when click the CollapseAll button then all record will be changed to collapse state and vice versa. 
Regards, 
Punniyamoorthi  


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