Dinamic Tree

Stimulsoft Reports.NET discussion
Post Reply
Nathália Maria Marini Karna
Posts: 4
Joined: Thu Apr 07, 2011 4:04 pm

Dinamic Tree

Post by Nathália Maria Marini Karna »

Hi,

My dataSet has the following tree.:

Image

I would like to know if is possible to create a table with this tree, in my report. It will be possible to add other componets to this tree, so the table will have to be dinamic to.

I've already tried to create a relation between columns of the dataTable, like this:
dataSet1.Relations.Add(new DataRelation("loc_cod_loc_codpai", dtConsumoSucataPorMaquina.Columns[0], dtConsumoSucataPorMaquina.Columns[1]));
I'm doing this because the report will have to know for example that "SL Sede 2" is a group inside the group "Sede São Leopoldo".

Any help will be apreciatted... Thank you.

Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Dinamic Tree

Post by Alex K. »

Hello,

You can use Hierarchical Band in this case.
Please see the sample report in attachment.

Thank you.
Attachments
909.SampleReport.mrt
(28.6 KiB) Downloaded 108 times
Post Reply