Data grid custom content filter addition - Mendix Forum

Data grid custom content filter addition

0

In Datagrid 2 I have added the custom content and I'm trying to apply for the custom content but that does not give me the option to filter for the custom content. It is applicable only for the attribute.


I know that the custom search can be implemented but there is no inbuilt option that is available.

asked
1 answers

Currently, Data Grid 2 only supports the built-in filter functionality for attribute-based columns. When you use Custom Content in a column, the filtering options are not available because the grid has no knowledge of the underlying value being displayed.

If you need filtering on custom content, you'll have to implement it yourself. A common approach is to:

  • Add custom filter widgets (text box, dropdown, etc.) outside the Data Grid 2.
  • Store the filter values in helper attributes or non-persistent entities.
  • Refresh the data source using an XPath constraint, microflow, or database query based on the entered filter values.

At the moment, there is no built-in option in Data Grid 2 to enable filtering directly on Custom Content columns. This is a product limitation rather than a configuration issue.

Created