Dinamic Tree
Posted: Fri Apr 08, 2011 8:20 am
Hi,
My dataSet has the following tree.:

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.
My dataSet has the following tree.:

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.