Use Array of Objects as a Datasource

Stimulsoft Reports.JS discussion
Post Reply
jogibear9988
Posts: 4
Joined: Thu Jul 03, 2014 2:38 pm

Use Array of Objects as a Datasource

Post by jogibear9988 »

I've a array of business objects (al with the same properties) wich I wanted to use as a datasource!

I tryed with report.regData("Data", "Data", data); but I don't see my object structure in the Designer.

Also, is it possible that I for example load only one of my objects, and define a callback for stimulsoft to load the rest when the report pages are rendered and the data is needed?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Use Array of Objects as a Datasource

Post by HighAley »

Hello.

Unfortunately, the business objects are not supported at this moment.
The data is converted to a set of Tables with relations.

Could you send us (support@stimulsoft.com) your business object with a description what you need to get?
We will try to help you.

Thank you.
jogibear9988
Posts: 4
Joined: Thu Jul 03, 2014 2:38 pm

Re: Use Array of Objects as a Datasource

Post by jogibear9988 »

That are multiple different business objects. I use the same objects in WPF via the business objects api. I thought I could use the same reports in WPF & SL.

The best way would be, if I can add my own datasource, wich gets a callback to retrieve the model of the data, and another on to read the data pagewise. (If I have the same in WPF this would be brilliant).

Our backend uses Linq to Access the database, and I'd like to use that. I would not like to give direct access to the database for stimulsoft reports!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Use Array of Objects as a Datasource

Post by HighAley »

Hello.

Sorry for the delay with answer.
Could you send us (support@stimulsoft.com) a sample of your application in WPF?
And what do you want to get in JS.
We will try to find a solution for you.

Thank you.
Post Reply