aliasNodeListToTableDataProvider MethodStatic

Transforms a list of children from a tree node into a TableDataProvider, given a list of column descriptions.

aliasNodeListToTableDataProvider(nodes: TreeNodeItem[], columns: ColumnDescription[], treeDataProvider?: TreeDataProvider): TableDataProvider

Parameter Type Description
nodes TreeNodeItem[] Node list to use as a basis for the TableDataProvider.
columns ColumnDescription[] An array of column descriptions to specify which columns to provide to the resulting TableDataProvider.
treeDataProvider TreeDataProvider  

Returns - TableDataProvider

A TableDataProvider object that can be used to populate a Table component.

Defined in

Last Updated: 20 June, 2023