new PropertyGrid(props)
The constructor.
Parameters:
Name | Type | Description |
---|---|---|
props |
Object | The initial props. |
Members
propTypes :Object
The prop types.
Type:
- Object
Methods
componentWillMount()
The componentWillMount function
generatePropertyGrid(feature, attributeFilter, attributeNames, attributeNameColumnWidthInPercent)
generatePropertyGrid function Initialize data store and column definitions of table
Parameters:
Name | Type | Description |
---|---|---|
feature |
OlFeature | feature to display |
attributeFilter |
Array | Array of string values to filter the grid rows |
attributeNames |
Object | Object containing mapping of attribute names names in feature to custom ones |
attributeNameColumnWidthInPercent |
Number | Column width (in percent) |
render() → {Element}
The render function.
Returns:
The element.
- Type
- Element