Page 1 of 1

Dinamic Tree

Posted: Fri Apr 08, 2011 8:20 am
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.


Dinamic Tree

Posted: Mon Apr 11, 2011 2:17 am
by Alex K.
Hello,

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

Thank you.