I have a page setup partnering Scheduler with Resource Utilization. I have hundreds of resources in the scheduler, is it possible to have the resource utilization view "jump" to the selected resource when switching/selecting resources in the scheduler view.
Currently I scroll down to find the relevant resource I'm interested in in the Scheduler, then I have to repeat the scrolling to find the same resource in the resource utilization view to see what availability there is for that resource.
If its possible could you please point me in the right direction?
Hello,
If I understood you correctly this code should help:
const scheduler = new SchedulerPro({
...
listeners : {
cellClick({ record }) {
// scroll resource utilization to the clicked resource row
resourceUtilization.scrollRowIntoView(
// get resource representing record in resource utilization view store
resourceUtilization.store.getModelByOrigin(record),
// highlight the row element
{ highlight : true }
);
}
}
});