LoadOnDemand
configurationIndicates whether the child DataSources should be fetched lazily when parent groups get expanded. Setting this to true causes loading the child DataSources when expanding the parent node.
loadOnDemand
Boolean|ObjectDefault: false
loadOnDemand.valueMapper
FunctionThe component calls the valueMapper function when the component receives a value, that is not fetched from the remote server yet. The component will pass the selected value(s) in the valueMapper function. In turn, the valueMapper implementation should return the respective data item(s) ids.
The valueMapper needs
dataSource.schemato work properly.