This example demonstrates how to use a report parameter in multi-value mode to grant an end-user the capability to select columns that should be displayed in the report:
LookUpValueCollection is used in the report's class to store a column's filed names (as the Value property) and their captions (as the Description property). Then, this collection is used to assign the LookUp values to the report's column chooser parameter and to get the column caption by its field name. The report's DataSourceDemanded event handler is used to get columns chosen by the end-user and create corresponding cells in the report's XRTable controls (that were created at design time).
Question Comments
Added By: mayur sahu 1 at: 4/27/2016 11:27:46 PM
string[] columns = (string[])this.Parameters["ReportColumns"].Value;
gives an error Added By: Olga (DevExpress Support) at: 4/28/2016 7:09:35 AM Hello,As I can see, you've posted a separate ticket with a similar question (Unable to add column chooser functionality in Table). Let's continue this discussion there. Thanks for your cooperation.