Skip to content

DevExpress-Examples/reporting-use-multi-value-parameter-as-table-column-chooser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reporting - Use a Multi-Value Parameter as a Table Column Chooser

This example demonstrates how to generate table columns in a report dynamically based on submitted values of a multi-value parameter.

Example

To create a table based on submitted parameter values, handle the DataSourceDemanded event. Use a report's Parameters collection to access a parameter, and the parameter's Value property to get selected parameter values. Use XRTable control methods and properties to create or modify a table.

In this example, parameter values are initialized in code. A LookUpValueCollection object is used to store table column names and captions.

Files to Look At

Documentation