send the report results to grid

Stimulsoft Reports.WEB discussion
Post Reply
zahra6688
Posts: 7
Joined: Sun Nov 18, 2012 5:37 am

send the report results to grid

Post by zahra6688 »

hi
i need to use stimulsoft report for creating a report with custom columns that are calculated columns and then send the final result to the grid that is in html view. is it possible to use the report result as configuration of grid, for displaying the result in grid instead of view designer?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: send the report results to grid

Post by Alex K. »

Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?

Thank you.
zahra6688
Posts: 7
Joined: Sun Nov 18, 2012 5:37 am

Re: send the report results to grid

Post by zahra6688 »

tanks for your attention,
i mean i want to create my report in designer and save it. then i want to get the output of designer that will use by viewer. that means i don't want to show the report results in viewer, and i want to just get the report result and do some work on it and use the result to show in my own grid. like exporting to excel or xml, etc i want to export to my grid.but we would be able to exporting to excel, etc when report results has been displayed in viewer, but i want to have report results in codes before showing in viewer.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: send the report results to grid

Post by Alex K. »

Hello,

You can use the Export() method for export report in the necessary format instead show in viewer.

Thank you.
zahra6688
Posts: 7
Joined: Sun Nov 18, 2012 5:37 am

Re: send the report results to grid

Post by zahra6688 »

where is Export() method ? in which class?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: send the report results to grid

Post by Alex K. »

Hello,

You can use the following code:
report.Load(); // load report from template
report.RegData() // provide data for report
report.Render(); // rendering
report.Export()

Thank you.
zahra6688
Posts: 7
Joined: Sun Nov 18, 2012 5:37 am

Re: send the report results to grid

Post by zahra6688 »

thanks for your attention.But something I want is one step before Exported Data.I want the configuration of report.for example I create a report with 2 column using designer and and save it in xml Format.
If I open Xml File I could see All configuration for example columns Header,data source Field and ..etc.
Now I want to read this setting and generate myViewer not by stiviewer .
until now I could reach column headers,but now I want to get databound field Name,where Are they? in witch object or method they exists?
please help me.
thanks.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: send the report results to grid

Post by Alex K. »

Hello,

Can you please send us a detail description of your task on support@stimulsoft.com.

Thank you.
Post Reply