RowCol Class

File
wijmo.grid.js
Module
wijmo.grid
Derived Classes
Column, Row

An abstract class that serves as a base for the Row and Column classes.

Properties

Methods

Properties

allowDragging

Gets or sets a value that indicates whether the user can move the row or column to a new position with the mouse.

The default value for this property is true.

Type
boolean

allowMerging

Gets or sets a value that indicates whether cells in the row or column can be merged.

The default value for this property is false.

Type
boolean

allowResizing

Gets or sets a value that indicates whether the user can resize the row or column with the mouse.

The default value for this property is true.

Type
boolean

collectionView

Gets the ICollectionView bound to this row or column.

Type
ICollectionView

cssClass

Gets or sets a CSS class name to use when rendering data (non-header) cells in the row or column.

Type
string

cssClassAll

Gets or sets a CSS class name to use when rendering all cells (data and headers) in the row or column.

Type
string

grid

Gets the FlexGrid that owns this row or column.

Type
FlexGrid

index

Gets the index of the row or column in the parent collection.

Type
number

isContentHtml

Gets or sets a value that indicates whether cells in this row or column contain HTML content rather than plain text.

This property only applies to regular cells. Row and column header cells contain plain text by default. If you want to display HTML in row or column headers, you must use the formatItem event and set the cell's innerHTML content in code.

The default value for this property is false.

Type
boolean

isReadOnly

Gets or sets a value that indicates whether cells in the row or column can be edited.

The default value for this property is true.

Type
boolean

isSelected

Gets or sets a value that indicates whether the row or column is selected.

Type
boolean

isVisible

Gets a value that indicates whether the row or column is visible and not collapsed.

This property is read-only. To change the visibility of a row or column, use the visible property instead.

Type
boolean

multiLine

Gets or sets a value that indicates whether the content of cells in this row or column should wrap at new line characters (\n).

The default value for this property is false.

Type
boolean

pos

Gets the position of the row or column.

Type
number

renderSize

Gets the render size of the row or column.

This property accounts for visibility, default size, and min and max sizes.

Type
number

size

Gets or sets the size of the row or column.

Setting this property to null or negative values causes the element to use the parent collection's default size.

Type
number

visible

Gets or sets a value that indicates whether the row or column is visible.

Type
boolean

visibleIndex

Gets the index of the row or column in the parent collection ignoring invisible elements (isVisible).

Type
number

wordWrap

Gets or sets a value that indicates whether the content of cells in this row or column should wrap to fit the available column width.

The default value for this property is false.

Type
boolean

Methods

onPropertyChanged

onPropertyChanged(): void

Marks the owner list as dirty and refreshes the owner grid.

Returns
void