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

Table of Context Levels

6 Answers 39 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Ken
Top achievements
Rank 1
Veteran
Ken asked on 27 Dec 2020, 05:41 PM

I am creating a book table of context.  Reading the information on Table of Context (https://docs.telerik.com/reporting/table-of-contents) it seems all I need to do is add the field name to the TocText property.

When I create the book, the table of context does not automatically assign the style levels to the groups, all the entries seem to be using Style 1.  Is there something I need to configure in the TocText property or elsewhere?     

6 Answers, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 30 Dec 2020, 10:28 AM

Hi Ken,

You may need to set the Level property. It  contains the properties and styles for each TOC level. The hierarchy of levels corresponds to the hierarchical structure of the report sections, items, and groups for which the TocText property is set.  

Please, find further information in the Table of Contents article.

Regards,
Neli
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Ken
Top achievements
Rank 1
Veteran
answered on 03 Jan 2021, 04:35 PM

Hi Neli,

I re-read the TOC article you referenced.

I have two groups in my report

groupHeaderSection

   groupHeaderSection1

     

0
Ken
Top achievements
Rank 1
Veteran
answered on 03 Jan 2021, 04:41 PM

Hi Neli,

I re-read the TOC article you referenced.

I have two groups in my report

groupHeaderSection

   groupHeaderSection1

      Detail

I have assigned the TocText in both the groupHeaders.  In the TOC.trdp I changed style 1, 2 and 3 to have different background colors.

When I run the report that has the TOC and all the trdp files (sorry forgot the type of report this is) both groupHeaderSections show up at the same level.  I was expecting groupHeaderSection1 to be style 3 and not style 2.

Based on what I was reading the style level should automatically be style 3.

0
Accepted
Todor
Telerik team
answered on 06 Jan 2021, 04:06 PM

Hi Ken,

You need to set the TocText of the groups rather than of the group headers/footers. You may use Group Explorer to select the group and set the property.

Regards,
Todor
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Ken
Top achievements
Rank 1
Veteran
answered on 06 Jan 2021, 05:23 PM

Hi Neli,

The TocText needs to be set at the group HeaderSection(s) and not at the field/text box level correct?

0
Ken
Top achievements
Rank 1
Veteran
answered on 09 Jan 2021, 05:14 PM
Hi Todor - thanks I needed to relook at what you posted, now I got it.
Tags
Report Designer (standalone)
Asked by
Ken
Top achievements
Rank 1
Veteran
Answers by
Neli
Telerik team
Ken
Top achievements
Rank 1
Veteran
Todor
Telerik team
Share this question
or