<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : Script API > JavaScript > JavaScript API > Component > Report > Method >SetBindingOrderList |
Sets the binding order of bands added to the report.
Prototype :
void SetBindingOrderList
(
string BindingOrderList
)
Arguments :
BindingOrderList |
band binding order list |
Reference :
Band names are separated by comma(,) in the list.
Set the binding order only for for data band, dummy band, subreport band, and side band. If include other bands, they are ignored.
SetBindingOrderList() can be used to set not only the binding order of bands but also some bands to be excluded from binding. For example when DataBand1, DataBand2, DataBand3 are designed in sequence, to bind DataBand1, DataBand3 in sequence, excluding DataBand2, create script as below:
This.SetBindingOrderList("DataBand3,DataBand1");
But if a report is once excluded, it cannot be bound never again:
This.SetBindingOrderList("DataBand3,DataBand1");
This.SetBindingOrderList("DataBand3,DataBand1,DataBand2");
The second line won't bind DataBand2.
Example :
This.SetBindingOrderList("DataBand3,DataBand1,DataBand2");
Available Events :
OnInitialize