To display this property editor, choose the pickList property from the Inspector when any (StorageDataSet) Column component is selected in the Component Tree. The values specified in this dialog are stored in an instance of a PickListDescriptor object.
For a tutorial on creating picklists in your application, see the Looking up choices with a picklist topic in the Database Application Developer's Guide.
Selecting a DataSet fills the grid with the following data:
(DataSet name) | A list of all columns in the source DataSet. |
Data Type | The data type of the source column. |
Show in picklist | Whether a column should display in the picklist.
Place a check mark for each column you want displayed.
When you set the picklist property of a Column component, the ItemEditor defaults to the PickListItemEditor, which only displays a single column in a picklist. If you want multiple columns to display in your picklist, you must explicitly set the Column component's itemEditor property to the PopupPickListItemEditor. To do this, after saving your changes to the picklist property, select the PopupPickListItemEditor from the Controls tab of the Component Palette and drop it onto the component you are designing. Then, use the Inspector to set the itemEditor property of the Column component to the PopupPickListItemEditor. |
(DataSet name) | The destination column name where the value in this source column should be copied when a user makes a selection from the picklist. |