Hi! I have a few needs that I want you clarify me. I´m working in an ASP.NET aplication, with C# on code behind. I wish to be able to create a full user customizable report. So I need that user may:
A) Select columns to print at runtime with a preview (as the SampleSelectingColumnsReport.mrt, but not with WinForms). I mean, I want to show say 10 columns to the user and he has to be able to chose as many as he want.
B) Change the name of the column directly. I mean, I can do it with Variables, which are shown at the top, but I think is less friendly than changing the name directly by clicking on the Column.
C) Choose the Font of a specific colum at runtime. Maybe, adding a Bar of Fonts in the Preview and letting the user change the font before printing. ¿Am I too crazy?
D) Change the order of the columns in two senses: First, order the colum alphabetically, ascending or descending; and, secondly, change the position of the columns in the report.
I know that my needs are very specifics, but I hope you can help me.
Examples will be greatly appreciated.
Thanks a lot in advance for your answer,
Seb . .
Full user customizable report
Full user customizable report
Hello,
In the attached file, you can see an example of creating a report from the code.
Please see the sample report in attachment (DrillDownSorting.mrt) or http://webfx.stimulsoft.com/?reportname ... ownSorting
Let us know if you need any additional help.
Thank you.
In this case, for Web, you can use variables instead checkbox controls. Please see the sample report in attachment.khalid89 wrote:A) Select columns to print at runtime with a preview (as the SampleSelectingColumnsReport.mrt, but not with WinForms). I mean, I want to show say 10 columns to the user and he has to be able to chose as many as he want.
For WinForms, you can use the Editable property. For the Web, unfortunately, it is not supported, you must use either the variables or some other ways.khalid89 wrote:B) Change the name of the column directly. I mean, I can do it with Variables, which are shown at the top, but I think is less friendly than changing the name directly by clicking on the Column.
The easiest way is to place the selecting of formatting to your page by using the code and modifying the required elements.khalid89 wrote:C) Choose the Font of a specific colum at runtime. Maybe, adding a Bar of Fonts in the Preview and letting the user change the font before printing. ¿Am I too crazy?
In the attached file, you can see an example of creating a report from the code.
For WebViewerFx you can use interactive sortingkhalid89 wrote:D) Change the order of the columns in two senses: First, order the colum alphabetically, ascending or descending; and, secondly, change the position of the columns in the report.
Please see the sample report in attachment (DrillDownSorting.mrt) or http://webfx.stimulsoft.com/?reportname ... ownSorting
Let us know if you need any additional help.
Thank you.
- Attachments
-
- 986.SelectingColumns.mrt
- (40.85 KiB) Downloaded 172 times
-
- 985.DrillDownSorting.mrt
- (32.7 KiB) Downloaded 145 times
-
- 984.DynamicCreateReportWeb.zip
- (320.95 KiB) Downloaded 258 times