Skip to content

SimplePropertyCollection

This is a reusable UI component that you can use to display a key-value pair property. You can add header and footer to this control.

SimplePropertyCollection Properties

Property Type Required Default
DataSubscriptions DataSubscriptions No
EmptySection EmptySection No
Footer Footer No
Header Header No
Layout Layout No
MaxItemCount integer No
Separators Separators No
SimplePropertyCell SimplePropertyCell No
SimplePropertyCells object[] No
Target LinkQueryFunctionTarget No
Visible boolean No true
_Name string No
_Type const Yes

DataSubscriptions

Array of data change events to subscribe to.


EmptySection

A section that will be displayed when the list is empty, this only applies if you are using Target binding. Allows you to show custom label when the list is empty.


Footer bar to be displayed below this control's content section.


Header bar to be displayed above this control's content section.


Layout


MaxItemCount

The maximum number of items to be displayed in the section. If MaxItemCount is not specified, then all records are displayed in the section.

  • type: integer

Separators

To provide more flexibility with rendering of controls and sections, set the visibility of the separator lines.


SimplePropertyCell


SimplePropertyCells

Use for static simple property collections. MaxItemCount and Target are ignored.

  • type: object[]

All items must be of the type: object with following properties:

Property Type Required
SimplePropertyCell No

SimplePropertyCell


Target

Definition of the target binding to dynamically populate the collection. You can also set this to binding/rule to return an array of data items.

Note: If this is set to binding/rule, you must return an array of data items, you can't return Target definition.


Visible

Set the visibility of this control.

  • type: boolean
  • default: true

_Name

  • type: string

_Type

  • type: const

The value of this property must be:

"Section.Type.SimplePropertyCollection"