Our pure JavaScript Scheduler component


Post by uyehezkel »

Hi,
I wish to use the schedulers filter to filter my 'resourceStore' and I'm doing it outside the component using an input text box with (keyup) event like that:

[b][i]    onSearchMachine(filterValue):void{
        console.log('onSearchMachine by ' + filterValue);                
if(filterValue.length == 0){ this.scheduler.schedulerEngine.resourceStore.clearFilters(); } else{ this.scheduler.schedulerEngine.resourceStore.filter({ id: 'machinefilter', filterBy : r => r.description.includes(filterValue) }); } } [/i][/b]

However this does not work for me at all. No matter what I write, the filter gives the first couple of records and changing from time to time, feels like a random results.
Please see image attached. The markup text it what I'm typing to filter by

Scheduler_filter_error.PNG
Scheduler_filter_error.PNG (35.64 KiB) Viewed 418 times

Any idea what am I missing?
Best Regards,
Uzi


Post by mats »

Hard to say without a test case, please try to reproduce this in our samples and we'll investigate.


Post Reply