public static class Grid.HeaderRow extends Grid.StaticSection.StaticRow<Grid.HeaderCell>
Constructor and Description |
---|
HeaderRow() |
Modifier and Type | Method and Description |
---|---|
protected Grid.HeaderCell |
createCell()
Creates a cell of a type that matches this row.
|
boolean |
isDefault()
Returns whether this is the default header row or not.
|
protected void |
setDefault(boolean isDefault)
Sets whether this is the default header row or not.
|
addCell, getCell, getSection, getSizeOfCellGroup, getStyleName, hasSpannedCells, join, join, removeCell, setSection, setStyleName
protected void setDefault(boolean isDefault)
true
resets the cell contents for this row to column
header captions. Setting this value to false
doesn't update
the cell contents.isDefault
- true
if this row should be default header row,
false
otherwisepublic boolean isDefault()
true
if this row is the default header row,
false
otherwiseprotected Grid.HeaderCell createCell()
Grid.StaticSection.StaticRow
createCell
in class Grid.StaticSection.StaticRow<Grid.HeaderCell>
Copyright © 2022 Vaadin Ltd. All rights reserved.