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" | "ruleset">): Promise<TableDataProvider & IContentDataProvider & { getRowKey: undefined } & { 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" | "ruleset"> Configuration properties for the created provider

Returns - Promise<TableDataProvider & IContentDataProvider & { getRowKey: undefined } & { description: string }>

Defined in

Last Updated: 12 June, 2024