Constructor
new VirtualTreeDataView(group, amount, filterFunction, sortFunction)
Constructor.
Parameters:
Name | Type | Description |
---|---|---|
group |
GroupData | The group this view represents. Note that only the children of this group but not this group itself will be part of the view. |
amount |
number | The amount of elements to view. |
filterFunction |
function | The function used to filter the tree. |
sortFunction |
function | The function used to sort nodes within each level of the tree. |
Members
group
Return the corresponding root group.
matrix
Return the corresponding matrix object.
Methods
subscribeSize()
Emits the size of the list.
subscribeStartIndexChanged()
Triggers when the startIndex changed but the view remained the same. This may happen when data is being removed which is entirely before the current view.