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

Fix number of columns in Crosstab

2 Answers 167 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
L
Top achievements
Rank 1
L asked on 07 Feb 2014, 12:47 PM
hi

is it possible to have a fix number of columns display in a crosstab?

I want to display 5 columns regardless of how many dates I have.

For example, our business day starts on Monday ends on Friday.

Lets presume, there are 20 business days per month and Monday is on 1st of February.

and today date is 10th February, my crosstab report would have 2 pages of 5 columns each

The first page would display 5 columns from 1st to 5th February, and the second page would display 8th to 10th February and 2 empty columns.

Is it possible? Thanks a lot

2 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 12 Feb 2014, 08:43 AM
Hello L,

Instead of Crosstab, you can use a Table item, which has a fixed number of columns.
You may also need to reorganize your data in a way that allows a single data row to contain data for five days. This will allow you to place the Table item in the detail section and use an expression to feed the Table with data from the current data row. Then you can set the PageBreak property of the detail section as required so each Table can start in a new page.

Regards,
Nasko
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

0
sandaruwan
Top achievements
Rank 1
answered on 23 Aug 2019, 06:33 AM

tnx Nasko's

 

Tags
General Discussions
Asked by
L
Top achievements
Rank 1
Answers by
Nasko
Telerik team
sandaruwan
Top achievements
Rank 1
Share this question
or