Folder_events_available not working in timeline view


#1

Hi.

I’m using the Timeline view with the folder_events_available == true and it doesn’t work for me after updating from 4.4.9. I can double click/drag to create but the events are not visible (covered by the grey folder). I haven’t found a sample where I can test it and it’s not possible to add the Timeline to the Scheduler Snippet
(Uncaught Error: scheduler.createTimelineView is not implemented. Be sure to add the required extension: ext/dhtmlxscheduler_timeline.js, ext/dhtmlxscheduler_treetimeline.js, ext/dhtmlxscheduler_daytimeline.js)

Can you help me reproduce this so I can make sure it’s not related to the customizations I have made.

Regards, Pálmar


#2

Hi @PalmarS1987,

I tried to reproduce the issue, please check 2 snippets

v4.3.25 https://snippet.dhtmlx.com/133600161

v.5.3.3 https://snippet.dhtmlx.com/42ecdeeed

As I see, folder_events_available works in both of them: if you create a new event, it will be visible in both versions.
The difference is that the folder line is covered by the grey color in v.5. We will fix it asap.

If you have another issue, update the code of the snippet with required version to reproduce, and share with me the new link.

Please don’t post the same question in multiple threads in the future.


#3

Hi @Polina and thanks for the response.
Do you have an estimate when this will be resolved?


#4

@PalmarS1987
Unfortunately no. I notify you here when the fix is ready.


#5

Hi again @Polina. Do you have an update on this issue? Maybe resolved in version 6.0?


#6

Hi @PalmarS1987

The issue still exists and currently I can’t specify the exact time when the fix will be ready. But don’t worry, I will let you know here as soon as the dev team solves it.


#7

Hello @PalmarS1987,

The issue was fixed in scheduler “v5.3.9” with the new {timelineName}_row_class template:
https://docs.dhtmlx.com/scheduler/api__scheduler_{timelinename}_row_class_template.html

The “gray line” is defined in the “folder” class, so the template which doesn’t return this class will return the old behavior:

scheduler.templates.timeline_row_class = function(section, timeline){
    return "";
};

Here is a demo:
http://snippet.dhtmlx.com/5/e47a5999a


#8

This is working for us. Thank you @Polina and @Siarhei