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

Simulating a grid in reports

3 Answers 310 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 03 Jul 2008, 12:46 AM
I'd like to have a multiple vertical column part of my report, that simulates a datagrid - column header, row that are generated from the fields that I place in each column... . Is this possible? What would be the best approach?

Kind regards

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 03 Jul 2008, 01:45 PM
Hello John,

Since you need to output some kind of table I would suggest to you to arrange the TextBox items exactly in a table manner. Arrange all items in columns with exactly the same width and use the Style.TextAlign and Style.VerticalAlign to adjust the text position inside the TextBox item. For example please see the ProductCatalog sample report and note how it looks like in the designer:



We are currently working on an item that enables table layout and we should have it till the end of the year (or beginning of next one).

Regards,
Steve
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
John
Top achievements
Rank 1
answered on 03 Jul 2008, 02:12 PM
In the sample you posted, the lines or boxes that look like tables around the data text boxes, is that done on each individual text box by setting its border style(s), or is there a table that I can drop on a report and place a data text box inside each cell?

Thx for your help.

J
0
Steve
Telerik team
answered on 03 Jul 2008, 03:55 PM
Hello John,

We currently do not have a table item, but it is in our TODO list for a subsequent version of the Report tool. The screenshot from the example I've posted is done using only the beforementioned technique - arrange all items in columns with exactly the same width and use the Style.TextAlign and Style.VerticalAlign to adjust the text position inside the TextBox item.
You can also read more about dynamic layout in this help article.

Sincerely yours,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
John
Top achievements
Rank 1
Answers by
Steve
Telerik team
John
Top achievements
Rank 1
Share this question
or