Search in ListPanel in ax 2012

Description:- 

In previous article we created form with list panels allowing us to specify which of suppliers need to be marked as temporary vendors.

The number of suppliers most of times is very big so this time we will add search functionality.
To start we need new group in our form with two new filter groups:

To each group, “FilterTempVendors” and “FilterSuppliers”, we will add “StringEdit” and “Button” control:



Method updateListPanel() was created previously and contains the fill() method from list panel.

Now our form contains search fields for each of the panels but for the filter functionality to work we need to add more code into each of methods responsible for filling the data, so suppliers() and temporaryVendors():


Now our search functionality is in place. Final view of form new objects:

Related Posts

Previous
Next Post »

Thanks for comments.....