ColumnHeaderSpec (taack-ui 0.4.0-SNAPSHOT API)
Package: taack.ui.base.table

[Groovy] Class ColumnHeaderSpec

      • taack.ui.base.table.ColumnHeaderSpec


      • @groovy.transform.CompileStatic
        final class ColumnHeaderSpec
        extends ColumnHeaderFieldSpec

        TableSpec.header delegated class.

        A column can contains many fields, it is optional if only one field is present.

        • Method Detail

          • void column(@groovy.lang.DelegatesTo(strategy: Closure.DELEGATE_FIRST, value: ColumnHeaderFieldSpec) groovy.lang.Closure closure)

            Allow to group fields to display in the same column

            Parameters:
            closure - Field list

          • void column(java.lang.Integer colSpan, java.lang.Integer rowSpan, @groovy.lang.DelegatesTo(strategy: Closure.DELEGATE_FIRST, value: ColumnHeaderFieldSpec) groovy.lang.Closure closure)

            Same as column(groovy.lang.Closure) but with colspan and rowspan params

            Parameters:
            colSpan
            rowSpan
            closure