Premium support for our pure JavaScript UI components


Post by luisbulaong »

Hi dev team,

Is there a way to filter on resource without auto scrolling the scheduler to top?

I'm currently using the filterBy function to filter the resources. But everytime the filter method triggers, the scheduler always scrolls to top automatically.

I have replicated in the filter live example:

Selection_720.png
Selection_720.png (84.04 KiB) Viewed 891 times

Post by pmiklashevich »

Hello,

This is expected behaviour. When you filter resources the records which have been visible before the filtering might disappear, so you'll look at some unpredictable set of records. Therefore scrolling to the top sounds logical. You might be interesting in checking out the new slice of dataset from the beginning.

Best,
Pavel

Pavlo Miklashevych
Sr. Frontend Developer


Post by luisbulaong »

Actually, we are currently using the external drag and drop scheduler built using ExtJS (https://www.bryntum.com/examples/scheduler-for-extjs/kitchensink/#examples/externaldragdrop) and we're using the filter property of the store to filter the resources which is not auto scrolling. Now that we are migrating to scheduler react, we want all the functionalities to be available on our new scheduler. So, we really need the filter function without auto scrolling to top.

Please consider this in you up coming releases.

Thanks,


Post by alex.l »

Hi luisbulaong,

We've created a feature request, here is a ticket to track: https://github.com/bryntum/support/issues/1975

All the best,
Alex

All the best,
Alex


Post by luisbulaong »

Thanks dev team!


Post Reply