Filters on Listing in Senerity
The idea behind dynamic scripts in Serenity is to provide dynamic data to the script side in the form of scripts that are generated at runtime.
Web services and dynamic scripts both produce dynamic javascript files that can be cached on the client side.
Lets Show Category Dropdown on Product Listing Page, so that we can see category wise product
Step 1. Lets Instruct Category Row to show Category Name in Drop down - for any other Modules
Step 2. Using LookupEditor for Category Field
There are two places to set editor type for CategoryId field. One is ProductForm.cs, other is ProductRow.cs.
I normally prefer the latter because it is the focal point, but if the editor type is unique to that form only, you can choose to set it there.
A. Display Filter Dropdown on Form
B. Display Filter Dropdown on Grid/Listing Page