fields
|
Specifies the field (Selection List) or fields (Selection Tree) of the data block to be displayed by the Selection component. This is equivalent to selecting fields under the Data tab of the component ‘Properties’ dialog box.

Examples
Selection List
SelectionList1.query = 'SalesByDate';
SelectionList1.fields = ['State'];
Selection Tree
SelectionTree1.query = 'SalesByDate';
SelectionTree1.fields = ['State','Company'];
|
Either syntax below can be used in component script:
For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required. |