Class GridColumns
java.lang.Object
org.apache.tapestry5.corelib.components.GridColumns
@SupportsInformalParameters
@Events("inplaceupdate (internal event)")
public class GridColumns
extends Object
Renders out the column headers for the grid, including links (where appropriate) to control column sorting.
Name | Type | Flags | Default | Default Prefix |
---|---|---|---|---|
gridModel | org. | componentResources. | prop | |
The object that provides access to bean and data models, which is typically the enclosing Grid component. | ||||
index | int | prop | ||
Optional output parameter that stores the current column index. | ||||
lean | boolean | prop | ||
If true, then the CSS class on each TH element will be omitted, which can reduce the amount of output from the component overall by a considerable amount. Leave this as false, the default, when you are leveraging the CSS to customize the look and feel of particular columns. | ||||
overrides | org. | this | prop | |
Where to look for informal parameter Blocks used to override column headers. The default is to look for such overrides in the GridColumns component itself, but this is usually overridden. | ||||
zone | String | prop | ||
If not null, then each link is output as a link to update the specified zone. |
Name | Description |
---|---|
inplaceupdate | (internal event) |
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns null or "true", depending on whether the Grid is rendering for in-place updates or not ("true" means in-place updates).boolean
boolean
void
setColumnName
(String columnName)
-
Constructor Details
-
GridColumns
public GridColumns()
-
-
Method Details
-
isSortDisabled
-
isActiveSortColumn
-
getColumnNames
-
setColumnName
-
getBlockForColumn
-
getInplaceGridLinks
Returns null or "true", depending on whether the Grid is rendering for in-place updates or not ("true" means in-place updates). The affects whether the data-inplace-grid-links attribute will be rendered or not.
-