# cp.ui.GridElement.Builder

A Builder for GridElements.


# API Overview

Methods - API calls which can only be made on an object returned by a constructor

  • withColumnsOf
  • withHeaderOf
  • withRowsOf

# API Documentation

# Methods

# withColumnsOf

Signature cp.ui.GridElement.Builder:withColumnsOf(columnInit) -> cp.ui.GridElement.Builder
Type Method
Description Adds a Column initializer to the GridElement builder.
Parameters
  • columnInit - A Column initializer.
Returns
  • The GridElement builder.
Notes None
Examples None
Source src/extensions/cp/ui/GridElement.lua line 52

# withHeaderOf

Signature cp.ui.GridElement.Builder:withHeaderOf(headerInit) -> cp.ui.GridElement.Builder
Type Method
Description Adds a Header initializer to the GridElement builder.
Parameters
  • headerInit - A Header initializer.
Returns
  • The GridElement builder.
Notes None
Examples None
Source src/extensions/cp/ui/GridElement.lua line 32

# withRowsOf

Signature cp.ui.GridElement.Builder:withRowsOf(rowInit) -> cp.ui.GridElement.Builder
Type Method
Description Adds a Row initializer to the GridElement builder.
Parameters
  • rowInit - A Row initializer.
Returns
  • The GridElement builder.
Notes None
Examples None
Source src/extensions/cp/ui/GridElement.lua line 42