Interface IColumn


public interface IColumn
  • Method Summary

    Modifier and Type
    Method
    Description
    setAlign(Align align)
    Sets the align attribute to the column frontend element.
    setFlexWidth(Integer flexWidth)
    Sets the flex-width attribute on the column frontend element.
    setSortable(boolean sortable)
    Defines whether a column will be sortable for server-side pagination tables.
    Sets the title of the column.
  • Method Details

    • setTitle

      IColumn setTitle(IString title)
      Sets the title of the column. The title is placed in the header row for the column. Note: Supported by saga web and saga mobile sdks
      Parameters:
      title - - title string
      Returns:
    • setAlign

      IColumn setAlign(Align align)
      Sets the align attribute to the column frontend element. Note: Currently only supported on saga web
      Parameters:
      align - - align enum
      Returns:
    • setFlexWidth

      IColumn setFlexWidth(Integer flexWidth)
      Sets the flex-width attribute on the column frontend element. Note: Currently only supported in saga mobile
      Parameters:
      flexWidth - - flex width to set 1 for same as other rows, 2 for double the size, 3 for triple the size, etc
      Returns:
      column - same column obj
    • setSortable

      IColumn setSortable(boolean sortable)
      Defines whether a column will be sortable for server-side pagination tables.
      Returns:
      column - same column obj