InstanceRowWidget

The InstanceRowWidget is an optional widget for slots of type Instance with single cardinality (at most equal to 1). The default widget, InstanceFieldWidget, shows the name of the Instance that is selected as the value of the slot. The InstanceRowWidget actually shows the slot values for the widget. 

 

InstanceFieldWidget
(Default for Instance, Single)

InstanceRowWidget

Creating an InstanceRowWidget

To make an InstanceRowWidget, first select the widget you want to change, then select InstanceRowWidget from the Widget Type Menu.

Customizing an InstanceRowWidget

When you select InstanceRowWidget from the Widget Type Menu, you will usually have to resize the widget. 

In addition, you might not wish to use all the slots, and you might want to change the order in which they appear. You can make these changes using the Form Configuration dialog box. Note that the current implementation does not allow you to change the order directly by dragging, but you can reorder the slots by first removing them from the widget, and then adding them back in the order in which you wish them to appear.

To add or remove slots, change their order, or change the name under which they are displayed:

  1. Double-click on the widget to open the Form Configuration dialog box.
  2. Click the Define columns of instance table tab.
  3. To make any modifications, you must click in the Column Name of the slot you wish to modify. (The top row, Slot Name, is a property of the slot and  cannot be modified.)
  4. To remove a column, click in its Column Name and click the Remove button.
  5. To rename a column, edit the text in Column Name.
  6. To add a column, click the Add button.
    The column will be added after all the existing columns.
  7. To reorder columns, remove all the columns except the one you want to appear first, then add the other columns. For instance, to make name appear first in the example, you would delete the other_information and phone_number columns, then add any columns you wanted back in.

 


Next: InstanceTableWidget

Forms Table of Contents