TableHeader

Package: Libraries.Web.Page · Inherits from: Libraries.Web.Page.AttributeAccepter, Libraries.Language.Object, Libraries.Web.Page.GlobalAttributeAccepter, Libraries.Web.Page.WebTag

The TableHeader class represents HTML's (Hypertext Markup Language) thead tag which is used to group the TableHeaderCells of a table. This will be displayed before the TableBody. You can find more information about this tag at: The thead attribute.

Example Code

use Libraries.Web.Page.all
class Main
action main
   //make a web page
   WebPage page

   WebTable table
   TableHeader thead

   //add a TableRow to the header
   TableRow row
   thead:Add(row)

   table:Add(thead)

   page:AddToBody(table)
end
end

Actions

Add(Libraries.Web.Page.TableRow content)

This action places a TableRow object inside of a TableHeader object.

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        TableRow tableRow
        page:Add(tableRow)

        text value = page:Generate()
        output value
    end
end

Add(Libraries.Web.Page.HiddenContent content)

This action places a HiddenContent object inside of a TableHeader object.

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        HiddenContent hiddenContent
        page:Add(hiddenContent)

        text value = page:Generate()
        output value
    end
end

Add(Libraries.Web.Page.Script content)

This action places a Script object inside of a TableHeader object.

Parameters

Example

use Libraries.Web.Page.all

class Main
    action Main
        WebPage page
        

        Script script
        page:Add(script)

        text value = page:Generate()
        output value
    end
end

Generate()

Returns

text

Inherited Actions

2 actions from Libraries.Language.Object
10 actions from Libraries.Web.Page.AttributeAccepter
29 actions from Libraries.Web.Page.GlobalAttributeAccepter
8 actions from Libraries.Web.Page.WebTag