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 clear row selection

Thread ID:

Created:

Updated:

Platform:

Replies:

147547 Sep 16,2019 03:12 AM UTC Sep 16,2019 11:10 AM UTC Vue 3
loading
Tags: Gantt Chart
Adam Moroff
Asked On September 16, 2019 03:12 AM UTC

Hi,
I would like to prgramatically clear the row selection in the Gantt Chart.  ive tried using the clearSelection() function but It doesnt seem to exist.  refer here: https://ej2.syncfusion.com/vue/documentation/api/gantt/selection/#clearselection

Can somone kindly provide an example of how to use this function? 

Thank you
Adam

Gurunathan A [Syncfusion]
Replied On September 16, 2019 06:10 AM UTC

Hi Adam, 

Thanks for contacting Syncfusion. 

We can clear the selection of rows or cells by using the method clearSelection, please find the below code example for how to use this in application. 

<button v-on:click="clearSelection">Clear Selection</button> 
 
export default { 
//... 
  methods: { 
    clearSelection: function(event) { 
      this.$refs.gantt.ej2Instances.selectionModule.clearSelection(); 
    } 
  } 
}; 
 

Please find the below sample link. 

Thanks, 
Gurunathan 


Adam Moroff
Replied On September 16, 2019 10:51 AM UTC

Thank you kindly. 

Gurunathan A [Syncfusion]
Replied On September 16, 2019 11:10 AM UTC

Hi Adam, 
  
We are happy to assist you.  

Regards, 
Gurunathan 


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