Hide Events by properties

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 !


1 Reply

KK Karthigeyan Krishnamurthi Syncfusion Team 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 
 
 


Loader.
Up arrow icon