Class pvr.widget.PropertyTable
Extends
dijit.layout._LayoutWidget, dijit._TemplatedMixin, dijit._WidgetsInTemplateMixin,
pvr.widget.mixins._ParentMixin, pvr.widget.mixins._ShowWhenEmptyMixin,
pvr.widget.mixins._ResizableMixin,.
Represents a property table container.
Defined in: <pvr\widget\PropertyTable.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Field Summary
Field Attributes | Field Name and Description |
---|---|
The container type.
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
addRow(beginEdit)
Adds a new row to the table and optionally begins edit mode for the new row.
|
|
bind(controller, view, container, boundProperties)
|
|
Returns the pvr.widget.Property objects that are children of this container.
|
|
Gets the indexes of the selected rows.
|
|
insertRow(position, beginEdit)
Inserts a new row into the table at the specified position and optionally begins edit mode for the new row.
|
|
isValid()
Indicates whether all data in the property table is valid.
|
|
layout()
|
|
logStore()
|
|
moveRow(row, position)
Moves the specified rows to the given position.
|
|
onCellAdded(property, row, value, row)
Event fired for a property when a row gets added to the table.
|
|
onCellChange(property, row, value, row)
Event fired when a cell value is modified.
|
|
onCellClicked(property, row, value, row)
Event fired when a cell is clicked.
|
|
onCellDoubleClicked(property, row, value, row)
Event fired when a cell is double clicked.
|
|
onCellInserted(property, row, value, row)
Event fired for a property when a row gets inserted into the table.
|
|
onCellMoved(property, row, value, row)
Event fired for a property when a row gets moved within the table.
|
|
onCellRemoved(property, row, value, row)
Event fired for a property when a row gets removed from the table.
|
|
onCellUpdated(row, row, value, error)
Event fired when a cell value within a table is modified.
|
|
onRowAdded(row)
Event fired when a row gets added to the table.
|
|
onRowChange(row)
Event fired when a cell value within a table row is modified.
|
|
onRowClicked(rows)
Event fired when a row is clicked in the table.
|
|
onRowDoubleClicked(rows)
Event fired when a row is double clicked in the table.
|
|
onRowInserted(row)
Event fired when a row gets inserted into the table.
|
|
onRowMoved(row)
Event fired when a row is moved within the table.
|
|
onRowRemoved(rows)
Event fired when a row is removed from the table.
|
|
onRowSelected(rows)
Event fired when a selection change occurs in the table.
|
|
onRowUpdated(row)
Event fired when a cell value within a table is modified.
|
|
removeRow(row)
Removes the specified rows from the table.
|
|
setSelectedRows(row)
Selects the specified rows.
|
Field Detail
containerType
The container type.
Method Detail
addRow(beginEdit)
Adds a new row to the table and optionally begins edit mode for the new row.
- Parameters:
- beginEdit
- Indicates whether to begin edit mode in the new row.
bind(controller, view, container, boundProperties)
- Parameters:
- controller
- view
- container
- boundProperties
buildRendering()
destroyRecursive()
getProperties()
Returns the pvr.widget.Property objects that are children of this container.
Only multi-value properties are supported in the property table. All single-value properties encountered will be removed from this list.
- Returns:
- The array of pvr.widget.Property objects.
getSelectedRows()
Gets the indexes of the selected rows.
- Returns:
- The indexes of the selected rows.
insertRow(position, beginEdit)
Inserts a new row into the table at the specified position and optionally begins edit mode for the new row.
- Parameters:
- position
- The row position.
- beginEdit
- Indicates whether to begin edit mode in the new row.
isValid()
Indicates whether all data in the property table is valid.
Changes in the property table data are not committed to the controller until all data in the property table is valid. Use this method to determine the valid status of the table.
- Returns:
- true if all data is valid.
layout()
logStore()
moveRow(row, position)
Moves the specified rows to the given position.
- Parameters:
- row
- The indexes of the rows to be moved. Can be a single value or an array.
- position
- The position where the rows will be moved.
onCellAdded(property, row, value, row)
Event fired for a property when a row gets added to the table.
- Parameters:
- property
- The property.
- row
- The added row number.
- value
- The cell value.
- row
- The cell error.
onCellChange(property, row, value, row)
Event fired when a cell value is modified.
- Parameters:
- property
- The property.
- row
- The modified row number.
- value
- The cell value.
- row
- The cell error.
onCellClicked(property, row, value, row)
Event fired when a cell is clicked.
- Parameters:
- property
- The property.
- row
- The clicked row number.
- value
- The cell value.
- row
- The cell error.
onCellDoubleClicked(property, row, value, row)
Event fired when a cell is double clicked.
- Parameters:
- property
- The property.
- row
- The clicked row number.
- value
- The cell value.
- row
- The cell error.
onCellInserted(property, row, value, row)
Event fired for a property when a row gets inserted into the table.
- Parameters:
- property
- The property.
- row
- The inserted row number.
- value
- The cell value.
- row
- The cell error.
onCellMoved(property, row, value, row)
Event fired for a property when a row gets moved within the table.
- Parameters:
- property
- The property.
- row
- The moved row number.
- value
- The cell value.
- row
- The cell error.
onCellRemoved(property, row, value, row)
Event fired for a property when a row gets removed from the table.
- Parameters:
- property
- The property.
- row
- The removed row number.
- value
- The cell value.
- row
- The cell error.
onCellUpdated(row, row, value, error)
Event fired when a cell value within a table is modified.
- Parameters:
- row
- The updated row number.
- row
- value
- error
onRowAdded(row)
Event fired when a row gets added to the table.
- Parameters:
- row
- The added row number.
onRowChange(row)
Event fired when a cell value within a table row is modified.
- Parameters:
- row
- The modified row number.
onRowClicked(rows)
Event fired when a row is clicked in the table.
- Parameters:
- rows
- The clicked row numbers.
onRowDoubleClicked(rows)
Event fired when a row is double clicked in the table.
- Parameters:
- rows
- The clicked row numbers.
onRowInserted(row)
Event fired when a row gets inserted into the table.
- Parameters:
- row
- The inserted row number.
onRowMoved(row)
Event fired when a row is moved within the table.
- Parameters:
- row
- The moved row number.
onRowRemoved(rows)
Event fired when a row is removed from the table.
- Parameters:
- rows
- The removed row number.
onRowSelected(rows)
Event fired when a selection change occurs in the table.
- Parameters:
- rows
- The selected row numbers.
onRowUpdated(row)
Event fired when a cell value within a table is modified.
- Parameters:
- row
- The modified row number.
postCreate()
postMixInProperties()
removeRow(row)
Removes the specified rows from the table.
- Parameters:
- row
- The indexes of the rows to be removed. Can be a single value or an array.
setSelectedRows(row)
Selects the specified rows.
- Parameters:
- row
- The indexes of the rows to be selected. Can be a single value or an array.