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

Dynamic Columns For HTML5 Report

0 Answers 82 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shahid
Top achievements
Rank 1
Shahid asked on 05 Apr 2018, 08:41 AM

Hi,

I am using HTML5 Telerik Report Viewer for my MVC 5 Project and using Stored Procedures to fetch the data. Its pretty awesome.

The only issue I am facing is, I cannot use the column names exactly returned by my stored procedure. The pattern is following:
If a user select February from the options, report should show:
Sr. No         February         Name

  1                  15                  xyz

  2                  30                 abc

but if user select December, it should show the following:

Sr. No         December         Name
  1                  15                  xyz
  2                  30                 abc

 

I cannot make the columns dynamic. My stored procedure can return dynamic column name (using pivot). Can you please help me out? I am unable to find such a solution on your forums and/or stackoverflow. Please keep in mind that I am using MVC 5 HTML 5 Report Viewer with stored procedures.

 

Thanks alot

 

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Shahid
Top achievements
Rank 1
Share this question
or