Dashboard for MVC - How to Apply Master Filter on the Client
This example shows how to apply a master filter in the ASP.NET MVC Dashboard on the client.
- The ViewerApiExtension.setMasterFilter method call applies the Master Filter values to the Grid item.
- The ViewerApiExtension.setRange method call applies the range to the Range Filter item.
The dxButton's onClick
event handler calls these methods.
Files to Review
- MasterFiltering.js (VB: MasterFiltering.js)
- Index.cshtml (VB: Index.vbhtml)
- _rootLayout.cshtml (VB: _rootLayout.vbhtml