Page 1 of 2

[REACT] Column level date filters are not working as desired

Posted: Tue Jan 17, 2023 11:38 am
by vconstruct

Hello Team,

In the video I have attached, the 'on filter' for dates is not working as desired

When we enter a date in the column filter search it is not returning any data even though there are some activities of that date


Re: [REACT] Column level date filters are not working as desired

Posted: Tue Jan 17, 2023 3:11 pm
by nickolay

Hello, can you please provide a reproducible test case, demonstrating the issue? Ideally, you could modify one of our examples for that.


Re: [REACT] Column level date filters are not working as desired

Posted: Tue Jan 17, 2023 3:17 pm
by nickolay

Everything seems to work fine for me. What version of our component do you use? Try updating to latest?


Re: [REACT] Column level date filters are not working as desired

Posted: Tue Jan 17, 2023 5:37 pm
by vconstruct

Hi nickolay,

we are using 5.3.0-alpha-1 , as it has checkbox enhancements.

Is there any later version than that ?


Re: [REACT] Column level date filters are not working as desired

Posted: Tue Jan 17, 2023 6:00 pm
by vconstruct

Hi nickolay,

Please find attached reproducible sample, at example https://bryntum.com/products/gantt/examples/msprojectimport/


Re: [REACT] Column level date filters are not working as desired

Posted: Wed Jan 18, 2023 1:19 pm
by nickolay

Reproduced, ticket created: https://github.com/bryntum/support/issues/5976

Please track the ticket for the progress and lets continue communication on this issue in the ticket.


Re: [REACT] Column level date filters are not working as desired

Posted: Wed Feb 08, 2023 9:16 pm
by vconstruct

Hi Nickolay,

I see that the ticket was marked resolved, but is there an update/fix for this?


Re: [REACT] Column level date filters are not working as desired

Posted: Wed Feb 08, 2023 10:23 pm
by marcio

Hey vconstruct,

That fix is available on v5.2.9, you can upgrade to that version to use the fixed code :)


Re: [REACT] Column level date filters are not working as desired

Posted: Wed Feb 08, 2023 10:52 pm
by vconstruct

Marcio, thank you for the response. From what I understand, we are using 5.3.0-alpha-1 for checkbox enhancement. Does v5.2.9 have the same features and functionality?

Also, for the startDate and endDate columns, I am trying to provide placeholder text for the available filters (On, Before or After) like it is in the Advanced Demo, but I couldn't find an example for it in the documentation. See snip for reference.


Re: [REACT] Column level date filters are not working as desired

Posted: Thu Feb 09, 2023 2:21 am
by marcio

Hey,

No, the 5.3.0-alpha-1 doesn't have the 5.2.9, as it was released before the 5.2.9 version. But the 5.3.0-beta-2 contains the fix. :)

Also, those texts are localized, so you'll need to replace the localization file with your custom text to display it there

Filter : {
            applyFilter   : 'Apply filter',
            filter        : 'Filter',
            editFilter    : 'Edit filter',
            on            : 'On',
            before        : 'Before',
            after         : 'After',
            equals        : 'Equals',
            lessThan      : 'Less than',
            moreThan      : 'More than',
            removeFilter  : 'Remove filter',
            disableFilter : 'Disable filter'
        },

Check this guide for more info regarding customization of the localization https://bryntum.com/products/gantt/docs/guide/Gantt/customization/localization