Interface IHeadersElement<I extends IHeadersElement>

All Superinterfaces:
IComponent<I>, IHtmlBasedComponent<I>, IXulElement<I>
All Known Subinterfaces:
IColumns, IListhead, ITreecols

public interface IHeadersElement<I extends IHeadersElement> extends IXulElement<I>
A skeletal implementation for headers, the parent of a group of IHeaderElement.

Support @Action

Name Action Type
onColSize ActionData: ColSizeData
Denotes user has resized one of the columns.
Author:
jumperchen
  • Method Details

    • isSizable

      default boolean isSizable()
      Returns whether the width of the child column is sizable.
    • withSizable

      I withSizable(boolean sizable)
      Returns a copy of this immutable component with the specified sizable.

      Sets whether the width of the child column is sizable. If true, a user can drag the border between two columns (e.g., IColumn) to change the widths of adjacent columns.

      Parameters:
      sizable - Whether the width of the child column is sizable.

      Default: false.

      Returns:
      A modified copy of the this object