API / geotoolkit / widgets / datasheet / Row / Row
DataSheet row A row in DataSheet table NOTE: row will be created automatically after DataSheet is initialized
Methods
Constructors
• new Row(index, title, tableViewShape, tableView, dataSheet, options)
Methods
▸ calculateAutoRowHeight(): number
Get new row height base on text content
number
New calculated row height
▸ getFillStyle(): FillStyle
Get row fill style
this
▸ getHeight(): number
Get row height
number
Row height
▸ getTitle(): string
Get row title
string
Row title
▸ getVisible(): boolean
Get whether row is visible
boolean
True if row is visible, false otherwise
▸ highlight(): Row
Highlight row
this
▸ setFillStyle(fillStyle): Row
Set row fill style
| Name | Type | Description |
|---|---|---|
fillStyle | Type | New row fill style |
this
▸ setHeight(height): Row
Set row height
| Name | Type | Description |
|---|---|---|
height | number | Row height |
this
▸ setRowValidator(validator): Row
Set cell content validator for a row
| Name | Type | Description |
|---|---|---|
validator | ValidatorPredicate | ValidationPreset | Validation function to validate cell content, validator must be in the form of function (cellContent) and must return a boolean, return true means cell text content is valid, false otherwise, cellContent parameter is cell content to be validated of type string. |
this
▸ setTitle(title): Row
Set row title
| Name | Type | Description |
|---|---|---|
title | string | Row title |
this
▸ setVisible(visible?): Row
Set row visibility
| Name | Type | Description |
|---|---|---|
Optional visible | boolean | False to hide this row, true otherwise |
this