Interface UiColumn<R,​V>

    • Method Detail

      • isFiltering

        boolean isFiltering()
        Returns:
        true if this column allows filtering, false otherwise. Typically filtering renders a text input at the bottom of the column header that allows to search for data in the cells. All rows that have values in this column which do not contain the filter text will be hidden from the data widget.
      • setFiltering

        void setFiltering​(boolean filtering)
        Parameters:
        filtering -
      • getFilterText

        String getFilterText()
        Returns:
        the current filter text for filtering.
      • getSortOrder

        io.github.mmm.base.sort.SortOrder getSortOrder()
        Returns:
        the current SortOrder of this column or null if unsorted.
      • isSortable

        default boolean isSortable()
        Returns:
        true if a sort comparator is not null and the data can be sorted according to this column, false otherwise.
      • getSortComparator

        Comparator<V> getSortComparator()
        Returns:
        the Comparator used to sort the values. May be null to disable sorting.
      • isEditable

        default boolean isEditable()
        Returns:
        true if this column is editable so the end-user can potentially edit the cell values of this column with inline editing.
        See Also:
        UiWidget.isReadOnly()