Premium support for our pure JavaScript UI components


Post by yklein »

Hello Bryntum team!

Is it possible to have a specific task selected on load? For example: if we would like to automatically scroll the grid down to the currently in progress task on a project on load of the Gantt?


Post by mats »

Sure, that'd be easy:

project.on({ load : () => {
     gantt.scrollTaskIntoView(project.taskStore.getById(123);
})

Docs: https://bryntum.com/docs/gantt/api/Gantt/view/mixin/GanttScroll#function-scrollTaskIntoView


Post Reply