Search functionality in datagrid2

0
Hi! Best Mendix Community,    I want to display a list using Datagrid2 on one of  my  pages. I  aim to have the list for your specific region always displayed statically, while allowing the ability to search for and view lists of other regions using a search area. Is this achievable?   Thanks in advance!    Best regads, Mehmet 
asked
2 answers
0

Hi Mehmet,

 

You can achive that by creating a helper entity connected to your entity or to some other existing association, depending on the scenario.

That helper entity can be non persistant and can or cannot have any attribute, and you can define the search field for example in a dataview with a nanoflow as data source, which will change that helper entity and will reflect on the datagrid2 that you should put inside the dataview mentioned above.

 

Hope it helps,

Rui

answered
0

Hi! Rui, 

 

Thanks for your response. I believe using the default value in the dropdown search function within DataGrid2 would be the best approach. I ve tried it, but it didn't work. I dont want to add a new temporary entity or attribute because I think this should be done using datagrid2 functions. 

 

Best regards,

Mehmet 

answered