Filtering session in timeline stops drawing the sessions

dhtmlxscheduler timeline when I use filtering
scheduler.filter_timeline = function(id, event) {}

drag animation (drawing a Node/session) doesn’t work

Can you provide any kind of sample where it can be reconstructed ?
In code those parts are not related in any way, and in local samples it doesn’t occur as well.

I am using Trace Skin . Every thing is working well. even light box is loading . the main problem is when I use this statement filter_timeline then Timeline drawing stop draw event.(It csan also create it but the it is like transparent)

Ok My friend if you look at this you will see even this doesn’t work properly.
/samples/09_api/09_filtering_events.html

Try to create a new unit / note / session / shift or any thing you call it :slight_smile:

It is not a bug in scheduler itself, but badly written sample
In code of sample, update next line

if (filters[event.type]) {

as

if (filters[event.type] || event.type==scheduler.undefined) {

When event just created it doesn’t have the type defined yet, so it was filtered out with previous logic

OMG Thank you my friend
You are start :slight_smile:
Working Like charm

Sorry I wanted to say YOU ARE STAR