PropertyRendererProps Interface

Properties of PropertyRenderer React component

Extends

Properties

Name Type Description
indentation undefined | number Multiplier of how much the property is indented to the right  
isEditing undefined | false | true Indicates property is being edited @beta  
onEditCancel undefined | () => void Called when property edit is cancelled.  
onEditCommit undefined | (args: PropertyUpdatedArgs) => void Called when property edit is committed.  
propertyValueRendererManager undefined | PropertyValueRendererManager Custom value renderer  

Inherited properties

Name Type Inherited from Description
columnRatio undefined | number SharedRendererProps Ratio between label and value cells
isHoverable undefined | false | true SharedRendererProps Indicates that properties have hover effect
isSelectable undefined | false | true SharedRendererProps Indicates that properties can be selected
isSelected undefined | false | true SharedRendererProps Controls component selection
onClick undefined | (property: PropertyRecord, key?: string) => void SharedRendererProps Called when property gets clicked.
onColumnRatioChanged undefined | (ratio: number) => void SharedRendererProps Callback to ratio change event
onContextMenu undefined | (property: PropertyRecord, e: MouseEvent) => void SharedRendererProps Called to show a context menu for properties
onRightClick undefined | (property: PropertyRecord, key?: string) => void SharedRendererProps Called when property gets right clicked.
orientation Orientation SharedRendererProps Orientation to use for displaying the property
propertyRecord PropertyRecord SharedRendererProps PropertyRecord to render
uniqueKey undefined | string SharedRendererProps Unique string, that identifies this property component.
width undefined | number SharedRendererProps Width of the whole property element

Defined in

Last Updated: 20 September, 2019