Package io.jmix.ui.component
Interface DataGrid.StaticRow<T extends DataGrid.StaticCell>
- Type Parameters:
T
- the type of the cells in the row
- All Known Subinterfaces:
DataGrid.FooterRow
,DataGrid.HeaderRow
- All Known Implementing Classes:
AbstractDataGrid.AbstractStaticRowImp
,AbstractDataGrid.FooterRowImpl
,AbstractDataGrid.HeaderRowImpl
public static interface DataGrid.StaticRow<T extends DataGrid.StaticCell>
Base interface for DataGrid header and footer rows.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the cell for the given column id on this row.Returns the custom style name for this row.Merges columns cells in a row.void
setStyleName
(String styleName) Sets a custom style name for this row.
-
Method Details
-
getStyleName
Returns the custom style name for this row.- Returns:
- the style name or null if no style name has been set
-
setStyleName
Sets a custom style name for this row.- Parameters:
styleName
- the style name to set or null to not use any style name
-
join
Merges columns cells in a row.- Parameters:
columnIds
- the ids of columns to merge- Returns:
- the remaining visible cell after the merge
-
getCell
Returns the cell for the given column id on this row. If the column is merged returned cell is the cell for the whole group.- Parameters:
columnId
- column id- Returns:
- the cell for the given column id, merged cell for merged properties, null if not found
-