DHTMLX / meteor-gantt-data

2 stars 2 forks source link

Performance bottleneck from "addTask" #5

Closed etyp closed 1 year ago

etyp commented 7 years ago

We're not directly using this package for our application, but have taken the same approach in setting up observers and mapping added messages to addTask.

We run into an issue where loading anything more than 20 or so tasks on first load can crash the browser because addTask calls this.refreshData every time. I'd imagine users of this package will experience the same thing.

Is there an option for not forcing this.refreshData on every addTask call?

See my comment here for more details: https://docs.dhtmlx.com/gantt/api__gantt_addtask.html

gearcoded commented 1 year ago

Answered here: https://docs.dhtmlx.com/gantt/api__gantt_addtask.html#comment-3264508755