Page 1 of 1
How is use Hierarchical Band ?
Posted: Thu Mar 27, 2008 4:10 am
by MARIMUTHU K
Hi Stimul team,
We are using Stimul2008.1.406.0 .Net 2.0
We didn't know about Hierarchical Band, Child Band, Empty Band and Overlay.
So Please Kindly provide usage that document and samples .
It will very useful for us.
Thanks in Advance,
How is use Hierarchical Band ?
Posted: Thu Mar 27, 2008 7:48 am
by Edward
The Hierarchical Band is intended for displaying data, which can be represented as tree.
One of examples of such a table we can see in the Demo example DataBase which comes with standard delivery of Stimulsoft Reports.Net.
There are a Key DataColumn (EmployerID) and a Parent DataColumn (ReportsTo). ReportsTo holds a reference to the chief or manager of the group. So all rows from the Empolyees table with the same ReportsTo value forms the group and leader of the group is the row with that ReportsTo value.
Hierachical Band must be prepared for work with this table in the following way:
HierarchicalBand.KeyDataColumn = Employees.EmployeeID
HierarchicalBand.MasterKeyDataColumn = Employees.Reports To
HierarchicalBand.Indent = 20 - sets an indent on which each new level of hierarchy will be shifted horizontally in the rendered report.
Please see the attached report.
Child Band - it is a band which is printed below any band only once. Child band can be placed after any band in the report and it is always printed only once each time the previous band was printed. Also we can place more than one ChildBand one after another. All of them follow the Band after which they were placed. There is a very simple rule - the child will be printed as many times as the previous band.
Overlay Band - it is a band which is printed on each page it can be compared with a WaterMark of the Page.
Empty Band - it is a band which is usually printed in the bottom of the Page until there is an empty space underneath all bands.This band serves a "filler" of the empty space between last band and an bottom of the page. With help of this band a table on the page can be filled out up to the full page size.
So if there is an empty space on the page, then placing an empty band allows to complete the table for whole page size.
Thank you.