Constructor
new DataGrid()
A DataGridBehavior object,
Methods
back() → {Promise.<void>}
Navigates back to parent table.
Returns:
a promise that is fulfilled when the back operation ends.
-
Type
- Promise.<void>
Returns either a promise for all the cells in the table (when called without arguments), or all the cells in a row (when called with row only), or for the specified cell.
Parameters:
Name | Type | Attributes | Description |
---|
rowIndex | number |
<optional>
| The row index of the specific cell. |
columnIndex | number |
<optional>
| The column index in the row, specified by the row parameter. |
Returns:
either a promise for all the cells in the table (when called without arguments), or all the cells in a row (when called with row only), or for the specified cell.
-
Type
- Promise.<(Array.<Array.<WinForms.TableCell>>|Array.<WinForms.TableCell>)>
|
WinForms.TableCell
collapseRow(row) → {Promise.<void>}
Collapses the specified row.
Parameters:
Name | Type | Description |
---|
row | number | The 0-based row index. |
Returns:
a promise that is fulfilled when the collapseRow operation ends.
-
Type
- Promise.<void>
expandRow(row) → {Promise.<void>}
Expands the specified row.
Parameters:
Name | Type | Description |
---|
row | number | The 0-based row index. |
Returns:
a promise that is fulfilled when the expandRow operation ends.
-
Type
- Promise.<void>
hideParentRow() → {Promise.<void>}
Hides the parent row when the child grid is displayed.
Returns:
a promise that is fulfilled when the hideParentRow operation ends.
-
Type
- Promise.<void>
openCellRelation(row, column) → {Promise.<void>}
Expands the specified row.
Parameters:
Name | Type | Description |
---|
row | number | The 0-based row index. |
column | number | The 0-based column index. |
Returns:
a promise that is fulfilled when the openCellRelation operation ends.
-
Type
- Promise.<void>
showParentRow() → {Promise.<void>}
Displays the parent row when the child grid is displayed.
Returns:
a promise that is fulfilled when the showParentRow operation ends.
-
Type
- Promise.<void>
Returns the Table test object this custom grid was accessed from.
Returns:
the tableTestObject.
-
Type
- WinForms.Table