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

Table Reporting

3 Answers 321 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 14 Aug 2008, 07:02 PM
How can I use Telerik Reports to display a plain old grid.  I need something to look like the RadGridView control.  I don't see anything to use that I can put the fields in my report details section and when I go to view that report I would like for it to look similiar to my RadGridView, with the header names the grid lines and everything.  Please HELP....

3 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 15 Aug 2008, 07:24 AM
Hello Leonard,

In order to achieve a table layout you need to use the Docking and Anchoring functionality provided. You can place the header text-boxes in an unbound group header and make it print on every page. To make the report look like a grid you will need to set borders on the docked text-boxes. You can take a look at our example ProductCatalog (installed with Telerik Reporting) which uses docking to layout the items.

Do not hesitate to drop us a line if you have troubles implementing the table layout.

Greetings,
Ross
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Michael
Top achievements
Rank 1
answered on 21 Oct 2008, 05:23 PM
Hi there, I was trying to implement borders for the web version of the Product Catalog, but when I put the borders for each textbox in the table layout 1px solid borders it looked like this: Table with border, the textboxes seem to get slanted as you go from left to right as they are docked left.  But if I change the dock left to a dock right then the textboxes will get slanted the other direction.  Although for the windows forms version it looked fine.
0
Steve
Telerik team
answered on 22 Oct 2008, 08:40 AM
Hello Michael,

This is a Firefox/Safari problem only and is due to the fact that Firefox/Safari do not handle table borders in the same manner as IE. To avoid this unpleasant effect, do not set any top and bottom borders to the textbox items themselves, but to the whole sections (group header and detail section). This way you will have a single border that would be displayed properly. Otherwise the docked items in html are nested in inner tables and the more items - the more inner tables and therefore the border problem you've hit.

Greetings,
Steve
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Tim
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Michael
Top achievements
Rank 1
Steve
Telerik team
Share this question
or