Class DataTablesColumnDefinitions


  • public class DataTablesColumnDefinitions
    extends java.lang.Object
    Responsible for extracting and representing DataTables Columns
      columns[n][data]            - Column's data source (https://datatables.net/reference/option/columns.data)
      columns[n][name]            - Column's name (https://datatables.net/reference/option/columns.name)
      columns[n][searchable]      - Flag to indicate if this column is globally searchable (true) or not (false).
      columns[n][orderable]       - Flag to indicate if this column is orderable (true) or not (false).
      columns[n][search][value]   - Search value to apply to this specific column.
      columns[n][search][regex]   - Flag to indicate if the search term for this column should be treated as
                                    regular expression (true) or not (false).
     
    See Also:
    Server-side processing
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getColumnName()
      Column Name
      java.lang.String getData()
      Column Data
      java.lang.String getSearchValue()
      Get the value searched for in this column
      boolean isOrderable()
      Column Orderable: end user's ability to order this column.
      boolean isSearchable()
      Column searchable Defined if DataTables should include this column in the filterable data in the table.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getColumnName

        public java.lang.String getColumnName()
        Column Name
        Returns:
        String
        See Also:
        columns.name
      • getData

        public java.lang.String getData()
        Column Data
        Returns:
        String
        See Also:
        columns.data
      • isOrderable

        public boolean isOrderable()
        Column Orderable: end user's ability to order this column.
        Returns:
        Boolean true if the column is orderable.
        See Also:
        columns.orderable
      • isSearchable

        public boolean isSearchable()
        Column searchable Defined if DataTables should include this column in the filterable data in the table.
        Returns:
        Boolean true if the column is searchable
        See Also:
        solumns.searchable
      • getSearchValue

        public java.lang.String getSearchValue()
        Get the value searched for in this column
        Returns:
        String