datagrok-ai / public

Public package repository for the Datagrok.ai platform
MIT License
43 stars 26 forks source link

#189: JS API: TreeView.fromItemCategories(items, tags[]) #189

Open skalkin opened 2 years ago

skalkin commented 2 years ago

Dynamically create a tree view out of a list of entities, and tags to split them.

For instance: apple {type: 'fruit', color: 'red'} banana {type: 'fruit', color: 'orange'} ferrari { type: 'car', color: 'red'}

ui.treeViewFromEntities(fruits, ['color', 'type']) should produce the following tree

skalkin commented 2 years ago

Bonus points: integrate it with the ObjectDataSource, and query everything dynamically

dnillovna commented 7 months ago

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-14921

dnillovna commented 3 months ago

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16029