How to Edit Data

Some controls are a bit more complex than others, especially those that display data. This is the case of Combo box, List, Tree and Table.

Edit
Combo Box List Tree Table

Combo Box

Add a combo box to the composer (see How to add a control to the composer)
When the combo box is selected, the following properties display:

Select the Values attribute. The Text Editor displays.

Let's enter the following values:


Select the OK button.
Select the Selected Item attribute and type the value 'Item 7'

 

The selected item in the combo box is now 'Item 7' as shown here:

 


List

Add a list to the composer (see How to add a control to the composer)
When the list is selected, the following properties display:

Select the Values attribute. The Text Editor displays.

Let's enter the following values:


Select the OK button.
Select the Selected Item attribute and type the value 'Item 7'

 

The selected item in the list is now 'Item 7' as shown here:

 


Tree

Add a tree to the composer (see How to add a control to the composer)
When the tree is selected, the following properties display:

Select the Values attribute. The Tree Editor displays.


To add a tree item, select a node in the tree and select the Add button. The new item will be a child of the selected node. In the figure above, Fruits is a child of Food and Apple is a child of Fruits.

To remove a tree item, select it in the tree and select the Remove button. Note: When removing a parent node, all children of this node are removed. In the figure above, if you were to select Food and remove it, the whole tree would be removed.

To edit a tree item, select it in the tree and select the Edit button.

Select the Close button to exit the editor.

Table

Add a table to the composer (see How to add a control to the composer)
When the table is selected, the following properties display:

Select the Values attribute. The Table Editor displays.


Populate the table by adding rows and columns and filling the newly created cells with data.
Add Row: To add a row, select a row and select the Add Row button. The row is added after the selected row.

Insert Row: To insert a row, select a row and select the Insert Row button. The row is added before the selected row.

Remove Row: To remove a row, select it in the table and select the Remove Row button.

Add Column: To add a column, select a column and select the Add Column button. The column is added after the selected column.

Insert Column: To insert a column, select a column and select the Insert Column button. The column is added before the selected column.

Remove Column: To remove a column, select it in the table and select the Remove Column button.

Here's a sample table where we added 5 rows and 5 columns:

The column headers can be edited by double-cliquing on them. (See In-place editing)