Open celia-lm opened 1 month ago
It seems to be related to the filterValueGetter
. This workaround works for me:
{
"field": "FIXTURE_DATE",
"headerName": "Fixture Date",
"filter": "agDateColumnFilter",
"filterValueGetter": {"function": "d3.timeParse('%Y-%m-%d')(params.data.date)"},
"editable": True,
},
Description of the bug
The
agDateColumnFilter
stops working withenableEnterpriseModules=True
(no key added, though).With the attached app, if we start with
enableEnterpriseModules=False
the filter works, but once we have enabled it (enableEnterpriseModules=True
), it’s not possible to disable it (enableEnterpriseModules=False
doesn't make the date filter work again). I believe this is because the enterprise settings are cached or something?The bug also happens if I load the app directly with
enableEnterpriseModules=True
and the callback commented.In any case, the expected behaviour is for the
agDateColumnFilter
to work with enterpriseModules enabled and disabled.https://github.com/user-attachments/assets/ef44482a-1ff4-420b-b3cb-4025a1925cf2
MRE
Python 3.10 dash==2.18.1 dash-ag-grid==31.2.0