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

Hide Events by properties

Thread ID:

Created:

Updated:

Platform:

Replies:

145819 Jul 9,2019 02:44 PM UTC Jul 10,2019 09:54 AM UTC Angular - EJ 2 1
loading
Tags: Schedule
chevron
Asked On July 9, 2019 02:44 PM UTC

Hello,

I'd like to know how i could hide an event in the calendar based on his Id ?

Is there a properties or a method planned for this ? something like that :

this.scheduleObj.HideEvents(id, name....???)

{
Id: 1,
Subject: 'Story Time for Kids',
StartTime: new Date(2018, 1, 11, 10, 0),
EndTime: new Date(2018, 1, 11, 11, 30),
CategoryColor: '#1aaa55'
        hidden: ????
}

thanks by advance !


Karthigeyan Krishnamurthi [Syncfusion]
Replied On July 10, 2019 09:54 AM UTC

Hi Chevron, 
 
Syncfusion greetings. 
 
We can achieve your requirement using query property and there is no default method. 
 
public eventSettings: EventSettingsModel = { dataSource: this.data, query: new Query().where('Hide', 'equal', false) }; 
 
Regards, 
Karthi 
 
 


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