iTwin / appui

Monorepo for iTwin.js AppUi
MIT License
8 stars 2 forks source link

Merging property data provider implementation #971

Open grigasp opened 1 month ago

grigasp commented 1 month ago

There's a use case for showing properties of multiple data sources (imodels, but not necessarily just them) in a property grid. The property grid takes the properties through a IPropertyDataProvider interface. I believe the best approach would be to provide a function like createMergedPropertyDataProvider(providers: IPropertyDataProvider[]): MergingPropertyDataProvider. The merged provider should: