In templates that support a list view (Multiple Row Data List, Display and Maintain Rows, Grid Update), developers have a few configuration options for how they would like their users at run-time to search and filter application data. When building an application, these options are listed in the Application Settings tab, particularly at the very bottom of the screen under the Compile Options section. Specifically, this post will focus on the “Advanced Search” property and its available options.
Advanced Search Row
The Advanced Search Row option adds search/filter inputs directly atop each of the application’s columns. For larger applications with many fields (columns), this option is likely not as ideal if users will need to filter on many columns that may be initially off-screen.
A closer look:
Advanced Search Dialog (Selections Dialog window)
Most m-Power users are familiar with the Selections Dialog window in m-Power, as this is the default Advanced Search option selected in new applications (the default value can be set via Admin Menu-> Edit Dictonary Files->Dictionary Configuration). The selections dialog will open up a window on top of the current application screen containing a list of search/filter inputs for each field in the application. Selecting the ‘Selections’ button as shown below:
opens up the Selections Dialog window:
Display Filters Above Table (Bootstrap Templates only)
When selected, this option will display the search/filter inputs in an expandable section directly above the application data table. Pressing the ‘Selections’ button serves to expand or collapse the section from view. As this option takes up some of the available screen real estate directly by ‘pushing down’ the application table, this option is also recommended in applications with less rather than more filters to display.
A closer look:
By default, the Filters Above Table option will be hidden from view when the application is loaded. However this may be changed to have the filters display automatically on page load in the Application Properties (Program Options->Display Top Filters on Page Load).