API Reference > ui-components > PropertyGrid > usePropertyData usePropertyData Function Beta Custom hook that gets propertyData from data provider and subscribes to further data changes. Returned property data has links.onClick replaced by passed onPropertyLinkClick or default implementation usePropertyData(props: { dataProvider: IPropertyDataProvider, onPropertyLinkClick?: undefined }): { inProgress: boolean, value: undefined | PropertyData } Parameter Type Description props { dataProvider: IPropertyDataProvider, onPropertyLinkClick?: undefined } Returns - { inProgress: boolean, value: undefined | PropertyData } Defined in ui/components/src/ui-components/propertygrid/internal/PropertyGridHooks.ts Line 24 Last Updated: 12 June, 2024