
Sridhar Bolisetti
Top achievements
Rank 1
Sridhar Bolisetti
asked on 18 Sep 2009, 02:33 PM
Hi,
I want to populate cross tab at run using needDatasource. I used list as datasouce but it is not working. The following is the code I have written.
BABOKAreaSource.AddRange(new List<CrossTab>()
{
new CrossTab("row1","col1",34),
new CrossTab("row1","col2",34),
new CrossTab("row1","col3",53),
new CrossTab("row4","col4",34),
new CrossTab("row5","col5",53),
new CrossTab("row6","col6",53)
}
);
crosstab.DataSource = BABOKAreaSource;
Please suggest me at the earliest.
I want to populate cross tab at run using needDatasource. I used list as datasouce but it is not working. The following is the code I have written.
BABOKAreaSource.AddRange(new List<CrossTab>()
{
new CrossTab("row1","col1",34),
new CrossTab("row1","col2",34),
new CrossTab("row1","col3",53),
new CrossTab("row4","col4",34),
new CrossTab("row5","col5",53),
new CrossTab("row6","col6",53)
}
);
crosstab.DataSource = BABOKAreaSource;
Please suggest me at the earliest.
5 Answers, 1 is accepted
0
Hello Sridhar,
The Table/Crosstab report item is not a mere grid of cells and has a very complex internal structure. The Report Designer does a great deal of work to simplify common tasks, but the underlying code is far from trivial to post here. The fastest and easiest way to see the structure of the crosstab is to generate one from the report designer and then see the autogenerated code in the InitializeComponent() method.
All the best,
Steve
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
The Table/Crosstab report item is not a mere grid of cells and has a very complex internal structure. The Report Designer does a great deal of work to simplify common tasks, but the underlying code is far from trivial to post here. The fastest and easiest way to see the structure of the crosstab is to generate one from the report designer and then see the autogenerated code in the InitializeComponent() method.
All the best,
Steve
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0

Sridhar Bolisetti
Top achievements
Rank 1
answered on 22 Sep 2009, 12:36 PM
Hi,
I could populate the crosstab at run time. But the problem is, In design mode preview borders are displaying where as in html view borders are not diaplying. But while exporting to pdf, borders are displaying.
And some colors are also not displaying in html mode like yellow etc.
Please help me regarding this.
Regards,
B.Sridhar
I could populate the crosstab at run time. But the problem is, In design mode preview borders are displaying where as in html view borders are not diaplying. But while exporting to pdf, borders are displaying.
And some colors are also not displaying in html mode like yellow etc.
Please help me regarding this.
Regards,
B.Sridhar
0
Hi Sridhar,
I am afraid that you've got us confused as to what your exact goal and problems are. It would be best if you open a support ticket and attach a sample working report that shows what you're trying to achieve along with explanation on what is wrong and what you expect.
Best wishes,
Steve
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I am afraid that you've got us confused as to what your exact goal and problems are. It would be best if you open a support ticket and attach a sample working report that shows what you're trying to achieve along with explanation on what is wrong and what you expect.
Best wishes,
Steve
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0

Sridhar Bolisetti
Top achievements
Rank 1
answered on 03 Oct 2009, 11:56 AM
Hi,
Crosstab borders and yellow colors are displaying preview mode. But it is not displaying in html preview mode. Please help regarding this.
Regards,
Crosstab borders and yellow colors are displaying preview mode. But it is not displaying in html preview mode. Please help regarding this.
Regards,
0
Hi Sridhar,
Thank you for the screenshots - we now see what you mean. However we cannot be sure why this is happening unless we take a look /run your report. Please open a support ticket and attach a sample report showing the problem at hand. Once we review it, we would be able to provide you with more info.
Sincerely yours,
Steve
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Thank you for the screenshots - we now see what you mean. However we cannot be sure why this is happening unless we take a look /run your report. Please open a support ticket and attach a sample report showing the problem at hand. Once we review it, we would be able to provide you with more info.
Sincerely yours,
Steve
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.