Our pure JavaScript Scheduler component


Post by rupen.shah.access »

Respected Team,

Another issue which I am facing is, filter is working find but When I click on the button I want to show data and filter should removed. Basically clear out the filter.

Could you please help me how I can resolve the same issue.

You can find the attached example.

Thanks
Rupen

Attachments
25052023.zip
(3.67 KiB) Downloaded 17 times
24052023.zip
(3.48 KiB) Downloaded 20 times

Post by alex.l »

Hi Rupen,

Did you try my suggestion to use

schedulerRefcheck.current?.instance.resourceStore.clearFilters()

https://bryntum.com/products/scheduler/docs/api/Scheduler/data/ResourceStore#function-clearFilters

All the best,
Alex


Post by rupen.shah.access »

Yes I have tried but its not working in tree type.

Its work with other type.

Thanks
Rupen


Post by tasnim »

Hi,

It seems to be working with our latest version here https://bryntum.com/products/scheduler/examples/tree/

chrome_TokpdjHt2K.gif
chrome_TokpdjHt2K.gif (581.21 KiB) Viewed 250 times

What version are you using?


Post by rupen.shah.access »

Dear Team,

I have upgrade the version to 5.3.6 but its still not working.

Thanks
Rupen


Post by alex.l »

Hi Rupen,

Please attach your full application where it is possible to reproduce this problem, we need to reproduce that to help you.

All the best,
Alex


Post by rupen.shah.access »

Please find attached example. I have update the scheduler version to 5.3.6. Also empty text is not showing when search the resource section.

Attachments
05062023.zip
(3.67 KiB) Downloaded 18 times

Post by alex.l »

Could you please attach full code that we can run? It is working well in our applications, so we need to see your app with steps to reproduce problems you mentioned.
Visually code

schedulerRefcheck.current!.instance.resourceStore.clearFilters();

looks correct. If I do the same in our app, it is working as expected.

Thank you!

All the best,
Alex


Post by rupen.shah.access »

Please find attached working example.

Attachments
UI.zip
(22.4 MiB) Downloaded 17 times

Post by alex.l »

Thank you!

Since you are using FilterBar feature, you need to clear filterBar's filter field value to clear filter. That's the correct way to go in this case, filterBar works differently than regular filters.
To get filter field, please use https://bryntum.com/products/grid/docs/api/Grid/feature/FilterBar#function-getColumnFilterField that available on feature instance.

All the best,
Alex


Post Reply