data grid search

0
Connect all the same entities using three data grids Two datagrids have 3 columns and the other has 2 columns. Attribute is set differently for each column. In this situation, is there a way to search in three data grids with one search button?
asked
2 answers
1

Hi Bosung,

To achieve this, you should create a custom search with a helper entity inside a dataview. Then, place the three data grids within this dataview. Each data grid should have a datasource microflow that retrieves objects based on the values provided in the custom search.

Thanks

answered
1

What you could do is create a non persistable entity where you can specify the search criteria. Use this NPE as the context of your page (you will need to create a dataview with a datasource microflow/nanoflow to create the object, because a NPE only exists in memory). If you place your datagrids inside the context of the NPE object, you can use the attributes in the xpath constraint for the datagrids.

answered