If you have been working with the TOC data source in medini, you may have stumbled over the question what exactly the "TOCLevel" attribute is all about. This article is trying to explain.

Plain Table of Contents
If you use the TOC data source normally, you probably assign table of contents strings or expressions to labels or other report elements that represent the beginning of chapters.

In this simple example (you will find it attached) each header has its own table of content string which results in this foreseeable result:

All entries are on the same level, level 1. Also note the PDF Bookmarks view:

To achieve different levels, you have to use "nested report elements", meaning you use grids, tables or lists to structure your report and assign table of content properties to the structure elements, rather then the header labels.
Structured Table of Contents
In this example I have used a grid at top level and moved the table of contents value from the header label to the grid. All content except the first label moved into the grid too.

As a result, the two other labels (which were not changed) now appear on level 2 in the TOC.

Again, note the now nested PDF Bookmarks:

Hope this gives you an answer on the question, how to achieve nested table of contents entries.
Have fun and do not hesitate to ask questions
Jan