Page 1 of 1

Use Array of Objects as a Datasource

Posted: Mon Aug 14, 2017 12:37 pm
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?

Re: Use Array of Objects as a Datasource

Posted: Tue Aug 15, 2017 9:09 am
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.

Re: Use Array of Objects as a Datasource

Posted: Tue Aug 15, 2017 8:45 pm
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!

Re: Use Array of Objects as a Datasource

Posted: Sat Aug 19, 2017 12:12 pm
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.