Top  | Previous | Next

header_logo Column Selector

Icon in toolbar: columnselectoricon

 

Description

columnselector   columnselectorcustomizer

The Column Selector is a component that takes DataSets in, allows users to show or hide variables in the DataSets (Columns) via checkboxes, then outputs the resulting DataSet.

The Column Selector allows users to choose which columns in a DataSet that they wish to use. If an object is bound to the Column Selector it will update itself whenever a user checks or unchecks a column. This allows users to dynamically show/hide: Table columns, "pens" on a graph, data in a Report Viewer, or any other component set up to use a DataSet.

Properties

Group by DataSet

grouping

BOOLEAN


Displays each DataSet's columns in a separate bordered container. Applicable to multiple DataSets only.

Alphabetize

alphabetize

BOOLEAN


Orders columns alphabetically as opposed to their native order in the DataSet .

Normalize Widths

normalizeWidths

BOOLEAN

holmes

If true, all checkboxes will be assigned the same width, which causes them to line up in columns

Horizontal Gap

hGap

INTEGER

holmes

The horizontal gap, in pixels, between checkboxes and grouping panels.

Vertical Gap

vGap

INTEGER

holmes

The vertical gap, in pixels, between checkboxes and grouping panels.

 

 

Customizer

The Column Selector customizer is very straightforward. The left pane allows you to add and remove DataSets. Selecting a DataSet will display a list of columns in the table in the right pane. Under Display you may modify the name that users see. Excluded from Selection will remove the given column from the users list of choices.

Events

mouse
mouseClicked
mouseEntered
mouseExited
mousePressed
mouseReleased
mouseMotion
mouseDragged
mouseMoved
propertyChange
propertyChange

 

 

 

Scripting Functions

 

 

TIPtip

The Column Selector works well with the Ignition Graph and Table components!