ColumnHeaderSpec (taack-ui 0.6.3-SNAPSHOT API)
Package: taack.ui.dsl.table

[Groovy] Class ColumnHeaderSpec

      • taack.ui.dsl.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.

        • Methods Summary

            Methods 
            Type Params Return Type Name and description
            void column(groovy.lang.Closure closure)
            Allow to group fields to display in the same column
            void column(java.lang.Integer colSpan, java.lang.Integer rowSpan, groovy.lang.Closure closure)
            Same as column(groovy.lang.Closure) but with colspan and rowspan params
            void columnSelect(java.lang.String paramsKey, groovy.lang.Closure closure)
            build a column with checkbox to select all wanted rows and to transfer them to specific actions
        • Inherited Methods Summary

        • 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

          • void columnSelect(java.lang.String paramsKey, @groovy.lang.DelegatesTo(strategy: Closure.DELEGATE_FIRST, value: ColumnHeaderSelectSpec) groovy.lang.Closure closure)

            build a column with checkbox to select all wanted rows and to transfer them to specific actions

            Parameters:
            paramsKey: - the parameter name which will stock the values from all selected rows
            closure: - clarify actions that receive the transferred values