Skip to content

How to filter data in the Designer working mode to improve the performance by displaying only several records from the datasource.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/asp-net-core-dashboard-limit-designer-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BI Dashboard for ASP.NET Core - How to Limit Data Displayed in Designer Mode

This example shows how to filter data in Designer mode. In this mode, the control displays only several records at a time from the datasource to improve performance.

On the client, the DashboardControlOptions.onOptionChanged event is handled to catch the moment when the working mode is changed. The current mode is passed to the server through the FetchRemoteService.headers dictionary. After that, the DashboardControl.reloadData method call initiates a data reloding callback (See also: Manage an In-Memory Data Cache).

On the server, the IHttpContextAccessor with dependency injection is used to access the passed working mode in code (HttpContext.Request.Headers["DashboardWorkingMode"]).

This example filters data in the following data sources:

Files to Review

Documentation

More Examples