Callback function which is given the rendered HTML element and the corresponding group data.
Typical usage for type safe access to the group data where `IProductGroupsTable` is the auto
generated type of the table component from which the dataview groups are populated:
```ts
dataview.onGroupHeaderRendered<IProductGroupsTable[number]>((el, groupData) => { ... })
```
Registers a callback that fires when a datalist item is clicked.
onValueChange.Callback function which is given the item data of rendered item and the raw mouse event.
Typical usage for type safe access to the item data where `IProductsTable` is the auto generated
type of the table component from which the dataview entries are populated:
```ts
dataview.onItemClicked<IProductsTable[number]>(itemData, event) => { ... }
```
See CustomControl.onRendered for detailed information on what you can do with this listener and what it is
not meant for. Most of the information there also applies to onItemRendered.
Also see OnRenderedCallback for important information regarding the element which is passed to the
callback which also applies here.
Callback function which is given the rendered HTML element and the corresponding item data.
Typical usage for type safe access to the item data where `IProductsTable` is the auto generated
type of the table component from which the dataview entries are populated:
```ts
dataview.onItemRendered<IProductsTable[number]>(el, itemData) => { ... }
```
See CustomControl.onRendered for detailed information on what you can do with this listener and what it is not meant for.
Also see OnRenderedCallback for important information regarding the element which is passed to the
callback.
Callback function which is given the raw selection value/keys and the corresponding item data of all the selected items.
Typical usage for type safe access to the item data where `IProductsTable` is the auto generated
type of the table component from which the dataview entries are populated:
```ts
// Single selection list:
dataview.onValueChange<IProductsTable[number]>(value, valueItemData) => { ... }
// Multi selection list:
dataview.onValueChange<IProductsTable>(value, valueItemData) => { ... }
```
Sets the entries (data items) displayed by the dataview. Existing entries are overwritten.
Sets the group data used to render the group headers of the dataview. Existing group data is overwritten.
Set arbitrary properties of the dataview control.
Behavior is the same as when setting the respective property in the configurator editor.
Some properties are not allowed to be set here because they have a dedicated method which should be used instead.
E.g. setting visible is not allowed because Dataview.setVisible should be used instead.
When using properties of type LiquidTemplateSource, you have to manually cast the given string to
LiquidTemplateSource like this:
dataview.setProperty('dataTemplate', '<span>{{ Name }}</span>' as LiquidTemplateSource);
See CustomControl.onRendered for detailed information on what you can do with this listener and what it is not meant for. Most of the information there also applies to
onGroupHeaderRendered.Also see OnRenderedCallback for important information regarding the
elementwhich is passed to the callback which also applies here.