<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : Script API > JavaScript > JavaScript API > Component > Multiplex > Region > Method >SetBindingOrderList |
Sets the binding order list of bands added to the region.
Prototype :
void SetBindingOrderList
(
string BindingOrderList
)
Arguments :
BindingOrderList |
binding order list |
Reference :
Data band names are separated by comma(,) in the list.
The binding order list only includes data band, dummy band and side band. 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 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