DataGrid 2 Dropdown Filter for associated attributes
Hi there, I am using DataGrid 2 because of some of it’s advantages. In DataGrid 1 you can add a Dropdown Filter that shows all values of an attribute of possibly associated objects. Is there anything I can do to have the same functionality in a DataGrid 2 Filter?
As far as I know, there is not a direct solution using only datagrid 2.
But a workaround is to wrap the datagrid2 in a dataview with a “HelperEntity” and a reference selector to the associated object.
In the XPath datasource of datagrid2, you can create an XPath filter using $currentObject refering to the helperentity.