Datagrid2 Problem: Unable to get filter store. Check parent widget configuration.

0
Hi all,   I have a problem with my datagrid 2 when I want to try grid wide filtering: if I add a text filter it gives me this error: Unable to get filter store. Check parent widget configuration.   I couldnt find more information about this error and was hoping someone know what this error is about and maybe a solution?   Thanks in advance!
asked
6 answers
0

Hey Sebastiaan ;) 

 

Have you tried updating DataWidgets module from the marketplace?

 

 

answered
0

I have the same issue after upgrading to latest version of Data Widgets. It seems the Grid Wide Filtering option is removed and the search bar is not working anymore.  (Mendix version 10.24.6. , data widgets v3.4.0)

 

Edit.  Seems the issue is that the Text filter was inside a snippet.  Moving it out of the snippet directly inside the DG2 resolved this issue. Grid wide filtering is now set in the filter itself not on the DG2 definition

answered
0

Hi,

 

I've run into the same problem described in this thread. I'd like to share my specific case and configuration, as this might help pinpoint the source of the error, especially if it's an issue with a recent update to the Data Widgets module.

 

image.png

 

My setup is as follows:

  • I have a Data Grid 2.
  • Its data source is a nanoflow that returns an object. I'm using a nanoflow because I need a "Search" button inside the Data Grid 2 to dynamically show or hide the filter fields. The nanoflow controls the filters' visibility via a non-persistent object with a boolean attribute.
  • The "Unable to get filter store. Check parent widget configuration" error appears specifically on a text filter for a column that displays an associated attribute (for example, Association_Entity/Attribute).
  • Filters for attributes of the main entity are working correctly.

 

 This suggests the filter can't "see" the associated entity, which makes me think the data connection is being broken somewhere.

 

What I've tried so far:

  • Deleting and re-adding the filter.
  • Confirming the Data Grid 2 column has the association attribute configured correctly.
  • The "Search" button that activates the filters is inside the Data Grid 2, so I can't use an external Data View as a workaround.

Any help or information on whether this is a known issue would be greatly appreciated.

Thanks!

answered
0

Hi Sebastiaan,

This should solve your problem, store filter should be on.

image.png

answered
0

Hi Slavko Skoric !

 

I've tried configuring the "saved attribute," which I also don't understand why it should be mandatory since I don't want to save the information every time that filter is updated, and I still get the same error.

 

I'd like to point out that this is happening to me on Mx version 10.18.5.

 

image.png

image.png

answered
0

Yes, seems like the 'Grid Wide Filtering' config option was removed from the Data grid 2 widget. In the Text Filter you can't leave the 'Filter attributes' (under General) not on Auto anymore; change it to Custom and add the attribute you want to filter on.

answered