C - Concrete configurator typepublic static interface ItemListingConfigurator.BaseItemListingColumnConfigurator<C extends ItemListingConfigurator.BaseItemListingColumnConfigurator<C>>
| Modifier and Type | Method and Description |
|---|---|
C |
alignment(ItemListingConfigurator.ColumnAlignment alignment)
Sets the column text alignment.
|
default C |
autoWidth()
Enables automatic width for the column.
|
C |
autoWidth(boolean autoWidth)
Enables or disables automatic width for the column.
|
C |
flexGrow(int flexGrow)
Sets the flex grow ratio for the column.
|
C |
resizable(boolean resizable)
Set whether the column is user-resizable.
|
C |
visible(boolean visible)
Set whether the column is visible.
|
C |
width(String width)
Sets the width of the column as a CSS-string.
|
C resizable(boolean resizable)
resizable - Whether the column is user-resizableC visible(boolean visible)
visible - Whether the column is visibleC width(String width)
width - the width to setC flexGrow(int flexGrow)
When set to 0, column width is fixed.
flexGrow - the flex grow ratio to setC autoWidth(boolean autoWidth)
Automatically sets the width of the column based on the columncontents when this is set to true.
For performance reasons the column width is calculated automaticallyonly once when the grid items are rendered for the first time and thecalculation only considers the rows which are currently rendered inDOM (a bit more than what is currently visible). If the grid isscrolled, or the cell content changes, the column width might notmatch the contents anymore.
autoWidth - Whether to enable the column auto-widthdefault C autoWidth()
Automatically sets the width of the column based on the columncontents when this is set to true.
For performance reasons the column width is calculated automaticallyonly once when the grid items are rendered for the first time and thecalculation only considers the rows which are currently rendered inDOM (a bit more than what is currently visible). If the grid isscrolled, or the cell content changes, the column width might notmatch the contents anymore.
C alignment(ItemListingConfigurator.ColumnAlignment alignment)
alignment - the text alignment to setCopyright © 2020 The Holon Platform. All rights reserved.