createSimilarInstancesTableDataProvider Method

Create a table data provider which returns instances of the same class and having the same property value as the provided property record.

createSimilarInstancesTableDataProvider(propertiesProvider: IPresentationPropertyDataProvider, record: PropertyRecord, props: Omit<PresentationTableDataProviderProps, "imodel" = undefined | "ruleset" = undefined>): Promise<IPresentationTableDataProvider & { description: string }>

Parameter Type Description
propertiesProvider IPresentationPropertyDataProvider A properties provider that created the record
record PropertyRecord A record whose similar instances should be found
props Omit<PresentationTableDataProviderProps, "imodel" = undefined | "ruleset" = undefined> Configuration properties for the created provider

Returns - Promise<IPresentationTableDataProvider & { description: string }>

Defined in

Last Updated: 13 June, 2024