TOC : Script API > JavaScript > JavaScript API > Component > Band > DataExpanderBand > Method >

 

SetBindingOrderList

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > Component > Band > DataExpanderBand > Method >

 

SetBindingOrderList

 

 

Sets the binding order of detail data expander bands.

 

 

 

Prototype :

 

void SetBindingOrderList

(

        string BindingOrderList

)

 

 

 

Arguments :

 

BindingOrderList

binding order list

 

 

 

Reference :

 

Band names are separated by comma(,) in the list.

 

Set the binding order only for the detail data expander 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 DetailDataExpanderBand1, DetailDataExpanderBand2, DetailDataExpanderBand3 are designed in sequence, to bind DetailDataExpanderBand3, DetailDataExpanderBand1 in sequence, excluding DetailDataExpanderBand2, create script as below:

     This.SetBindingOrderList("DetailDataExpanderBand3,DetailDataExpanderBand1");

 

But if a report is once excluded, it cannot be bound never again:

This.SetBindingOrderList("DetailDataExpanderBand3,DetailDataExpanderBand1");

This.SetBindingOrderList("DetailDataExpanderBand3,DetailDataExpanderBand1,DetailDataExpanderBand2");

The second line won't bind DetailDataExpanderBand2.

 

 

Example :

 

This.SetBindingOrderList("DetailDataExpanderBand3,DetailDataExpanderBand1,DetailDataExpanderBand2");

 

 

 

Available Events :

 

OnInitialize