Group Properties

IN THIS PAGE

Description

The Create/manage/edit Groups link is used to create, manage, and edit Group Editors for the FormView control.

Discussion

Groups can be used to edit multiple fields at once. For example, assume the FormView control contains the following fields:

  • Address
  • City
  • State
  • Zip
  • Country

When the user taps on any one of these fields in the form, you would like the Editor shown to display edit controls for all of the fields - not just the field the user tapped on.

This is accomplished by defining a Group and setting the Group name property for ech fields to this group.

You will need to specify that the Editor used to edit this group includes text box controls for each feild in the group.

images/groupDialog.png

Videos

Introduction to Group Editors

The common pattern when using a FormView control is to edit a single value in a FormView with its associated editor at a time. For example, when the user clicks on 'field1' in the FormView, the associated editor for 'field1' is shown and the user can edit the value in 'field1'.

In some cases, however, you might want to edit the value of multiple fields simultaneously. For example, if the user fields on ANY of 'field1', 'field2', or 'field3', for example, you might want to open an editor that allows you to edit all of the fields at once.

This is easily accomplished using the concept of 'Group Editors'.

In this video we show how the Address, City, State and Country field in a form are edited using a Group Editor for this group of fields.

Download Component

2015-08-13

Group Properties

Property
Description
Group name

The name of the group that appears in the list when setting the Group property for a field.

Method for specifying Editor set/Editor

If you select 'Static' then you can specify the Editor Set and Editor for this field now. If you specify 'Javascript Function' or 'Javascript Code' you can dynamically specify the Editor Set and Editor at run-time. See the Method for specifying Editor set/Editor property for more information.

Editor set

The Editor set that contains the Editor used to edit the value in the field. See the Editor set property for more information.

Editor

The Editor used to edit the value in the field. See the Editor property for more information.

Javascript function to specify Editor set/Editor

See the Javascript function to specify Editor set/Editor property for more information.

Javascript Code to specify Editor set/Editor

See the Javascript Code to specify Editor set/Editor property for more information.

User defined editor settings

Custom settings that can be added. See the User defined editor and template settings property for more information.