Skip to content

The following example shows how to access the data source field's values when these values are not displayed in the dashboard item. The control gets data when a user clicks the corresponding item.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/asp-net-core-dashboard-access-hidden-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BI Dashboard for ASP.NET Core - How to Access Hidden Field Values

The following example shows how to access the data source field's values when these values are not displayed in the dashboard item. The control gets data when a user clicks the corresponding item.

For example, you need to redirect the user to the specific web page based on the Department field value when the corresponding item is clicked. In this scenario you can use Underlying and Displayed Data API in the ViewerApiExtension.itemClick event handler. Put the Department field to the "HIDDEN MEASURES" section and set its summary type to Min or Max:

After that, you can call the ItemData.getMeasureValue method to obtain summary values for hidden measures:

var departmentMeasureValue = dataSlice.getMeasureValue(departmentMeasure.id);
var departmentValue = departmentMeasureValue.getValue();

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

The following example shows how to access the data source field's values when these values are not displayed in the dashboard item. The control gets data when a user clicks the corresponding item.

Topics

Resources

License

Stars

Watchers

Forks