Class: PropertyGrid

PropertyGrid(props)

new PropertyGrid(props)

The constructor.

Parameters:
Name Type Description
props Object

The initial props.

Source:

Members

propTypes :Object

The prop types.

Type:
  • Object
Source:

Methods

componentWillMount()

The componentWillMount function

Source:

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)

Source:

render() → {Element}

The render function.

Source:
Returns:

The element.

Type
Element

PropertyGrid()

new PropertyGrid()

Class representing a fature grid showing the attribute values of a simple feature.

Source:

Extends

  • React.Component

Members

propTypes :Object

The prop types.

Type:
  • Object
Source:

Methods

componentWillMount()

The componentWillMount function

Source:

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)

Source:

render() → {Element}

The render function.

Source:
Returns:

The element.

Type
Element