Describes one column of a TableViewMeta table: its heading, whether it can be sorted, and the CSS classes and attributes to render on it. Built by ColumnMetaBuilder rather than constructed directly.


Properties

PropertyReturnsDescription
attributesMap<String,String>Extra HTML attributes to render on this column's cells, keyed by attribute name.
classesSet<String>The CSS classes to apply to this column's cells.
classesListStringThe column's CSS classes rendered as a single space-separated string, ready to use directly in a class attribute.
idStringIdentifier for the column, used to correlate it with a value on each record.
sortablebooleanWhether this column supports sorting the table by its values.
titleStringThe heading text displayed for this column.
widthIntegerThe column's width, if one was set.

Methods

getId()

Returns: String

Identifier for the column, used to correlate it with a value on each record.

getTitle()

Returns: String

The heading text displayed for this column.

isSortable()

Returns: boolean

Whether this column supports sorting the table by its values.

getWidth()

Returns: Integer

The column's width, if one was set.

getClasses()

Returns: Set<String>

The CSS classes to apply to this column's cells.

getAttributes()

Returns: Map<String,String>

Extra HTML attributes to render on this column's cells, keyed by attribute name.

getClassesList()

Returns: String

The column's CSS classes rendered as a single space-separated string, ready to use directly in a class attribute.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.