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

Invoice demo example

1 Answer 200 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 30 Jun 2015, 01:11 PM

Hi,

I have a couple of questions on the invoice demo example and it would be great if somebody could answer. I have to do a sales order report which has a very similar structure with sales order items, sub report, etc.

The relevant video can be found here: http://demos.telerik.com/reporting/invoice-report/video.aspx

-In the video, some fields are added to the top section (barcode, order number, etc.) How are these fields populated - I understood that data could only be populated from the detail section. I'm doing something similar at the moment and I like the idea of putting stuff in the header but the fields in the header won't populate with any data - only the fields in the detail section.

-What is the purpose of the small panel he puts in the bottom of that header at the 36 second mark.

-Why the large panel in the detail section?

 If anybody could shed some light on these it would really help my understanding of what's going on.

Thanks,
Tom.

 

 

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 03 Jul 2015, 09:01 AM
Hello Tom,

1. The data in the static group header is coming from the Report.DataSource. You can use data fields from the report's data source there.

2. The Panel item is used just for styling purposes. At the end of the video, you can see that this panel has a darker blue background color than the background color of the static group section.

3. The large Panel item is used as a container for other report items and to logically separate them from the sub-report below. It has no other purpose than to keep its child report items together and to allow for moving and working with those report items as a single entity.

Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Tom
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or