This is a migrated thread and some comments may be shown as answers.

dynamically column displayed using telerik reporting.

1 Answer 253 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Randhir
Top achievements
Rank 1
Randhir asked on 06 Sep 2013, 03:47 AM
I have used attached files way for displayed the dynamically column in telerik reproting but all r not working..please suggest me how can displayed dynamcially column using telerik reporting


Thanks
Randhir

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 11 Sep 2013, 11:37 AM
Hello Randhir,

Modifying the report or item definition once the processing has started i.e., on ItemDataBinding or NeedDataSource, is not recommended.

If the used for the Table item schema is known and you need to hide certain columns, create the item using the Crosstab/Table Wizard. Then apply filters on the column groups, which can be previewed in the Group Explorer after selecting the Table item.

Other approach if the data is dynamic is to add a Table item to your report definition without any modifications. When you instantiate the report OnLoad for instance, find the Table item in the report's Items collection and based on the data, modify the definition. Finally pass the report instance to the ReportViewer control. For more details about getting the Table item from the report instance take a look at the Access items from report, calling application and Table help article(Access items from calling application).

I hope this helps.

Regards,
Stef
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

Tags
General Discussions
Asked by
Randhir
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or