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