<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : Script API > JavaScript > JavaScript API > Component > Band > DataBand > Method >SetBindingOrderList |
Sets the binding order of detail bands.
Prototype :
void SetBindingOrderList
(
string BindingOrderList
)
Arguments :
BindingOrderList |
binding order list |
Reference :
Detail band names are separated by comma(,) in the list.
Set the binding order only for the detail data bands. If include other components, 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 Detaildataband1, Detaildataband2, Detaildataband3 are designed in sequence, to bind Detaildataband1, Detaildataband3 in sequence, excluding Detaildataband2, create script as below:
This.SetBindingOrderList("Detaildataband3,Detaildataband1");
But if a report is once excluded, it cannot be bound never again:
This.SetBindingOrderList("Detaildataband3,Detaildataband1");
This.SetBindingOrderList("Detaildataband3,Detaildataband1,Detaildataband2");
The second line won't bind Detaildataband2.
Example :
This.SetBindingOrderList("DetailDataBand3,DetailDataBand1,DetailDataBand2");
Available Events :
OnInitialize