Data Grid Search pop up if no records found.

0
I have a data grid with search button, I want to return “No data found” message/pop up if search don’t bring any record. Please provide with solution.   Thank you in advance!!!
asked
2 answers
1

Hi,

have  you looked into this https://forum.mendixcloud.com/link/questions/85857   ?

answered
0

One solution is to do this in a workflow. Have the custom search button and call a workflow. In the workflow do the following

  1. Retrieve the data into a list by Xpath query matching the search criteria.
  2. Check the count of the list, if it is zero, display the message, else pass the object to the Listview on the page for display
answered