Class

RuleTable

RuleTable(props) → {React.ReactElement}

Constructor

# new RuleTable(props) → {React.ReactElement}

Overview

An AutoSizer and List component from react-virtualized library with custom styling. Used to display rule in an ClassifiedObjectDialog.
For full documentation check out react-virtualized docs on AutoSizer and List.
Parameters:
Name Type Attributes Default Description
props Object
listRef Object <optional>

Reference forwarded to the List component.

rowHeight number <optional>
36

The height of the row in the List component.

rule Object

The selected rule.

rule.conditions Array.<Object>

The conditions part of a selected rule.

rule.conditions[].toString string

Conditions as a single string.

rule.conditions[].attributeName string

The name of the evaluated attribute.

rule.conditions[].relationSymbol string

The relation symbol used to evaluate attribute

rule.conditions[].limitingEvaluation number | string

The value of limiting evaluation

rule.decisions Array.<Array.<Object>>

The decisions part of a selected rule.

rule.decisions[][].toString string

Decisions as single string.

rule.decisions[][].attributeName string

The name of the evaluated attribute.

rule.decisions[][].relationSymbol string

The relation symbol used to evaluate attribute.

rule.decisions[][].limitingEvaluation number | string

The value of limiting evaluation.

rule.toString string

Rule as a single string.

rule.type string

The type of a rule.

View Source Utils/DataDisplay/RuleTable.js, line 85

React.ReactElement