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 Optional
EmptySection EmptySection Optional
Footer Footer Optional
Header Header Optional
Layout Layout Optional
MaxItemCount integer Optional
SimplePropertyCell SimplePropertyCell Optional
SimplePropertyCells object[] Optional
Target LinkQueryFunctionTarget Optional
Visible boolean Optional true
_Name string Optional
_Type const Required

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

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 Optional

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 equal to:

"Section.Type.SimplePropertyCollection"