Click OK. How to Manually Add Key Column At Design Time

Working with ADF Desktop Integration Table-Type Components 7-23 If desired, you may change the position of the Key column using Up and Down arrow keys.

4. Click OK.

7.13 Creating a List of Values in an ADF Table Component Column

Use the TreeNodeList subcomponent when you want to render a dropdown list of values in an ADF Table component column. The list of values can display a maximum of two hundred and fifty values at runtime. Unlike other ADF Desktop Integration components, the TreeNodeList subcomponent does not appear in the components palette described in Section 5.5, Using the Components Palette. Instead, you invoke it as a subcomponent when you specify values for the InsertComponent or UpdateComponent properties of an ADF Table component column. For information about the properties of an ADF Table component column, see Section A.9.2, ADF Table Component Column Properties. After you invoke the TreeNodeList subcomponent, you must specify a tree binding attribute associated with a model-driven list as a value for the TreeNodeList subcomponent’s List property. The tree binding attribute associated with a model-driven list populates the dropdown menu in the Table component’s column with a list of values after invocation of the Table component’s Download action. For information about the properties of a TreeNodeList subcomponent, see Section A.6, TreeNodeList Subcomponent Properties. Table 7–9 Key Column Properties Set this property... To ... CellStyleName _ADFDI_TableKeyCellStyle HeaderStyleName _ADFDI_HeaderStyle DynamicColumn False HeaderLabel {_ADFDIres[COMPONENTS_TABLE_ROWKEY_COL_LABEL]} ID _ADF_RowKeyColumn InsertUsesUpdate True UpdateComponent OutputText The Value property must be empty. Visible True Note: You must specify the ID property of the new column as _ ADF_RowKeyColumn, otherwise the column will not be considered as a Key column, and another Key column would automatically appear at runtime. Note: You can create a model-driven list of values in your ADF Table component by choosing ModelDrivenColumnComponent as the subcomponent type. For more information about creating a model-driven list, see Section 7.14, Adding a ModelDrivenColumnComponent Subcomponent to Your ADF Table Component.