Table

Skip to end of metadata
Go to start of metadata

Configuration

Name Type
Description
width
integer
Width of the field in pixel
height
integer
Height of the field in pixel
defaults
array
Array can have the following properties: rows, cols, data (see example)

Accessable Methods & Properties

Name
Type
Description
getData()
array
Get the data of the table as array

Example

 <?php echo $this->table("tableName",array(
    "width" => 700,
    "height" => 400,
    "defaults" => array(
        "cols" => 6,
        "rows" => 10,
        "data" => array(
            array("Value 1", "Value 2", "Value 3"),
            array("this", "is", "test")
        )
    )
)) ?>
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Nov 02, 2011

    Raffael Luthiger says:

    If others are searching for it. It is currently not possible to set header. See ...

    If others are searching for it. It is currently not possible to set header. See here: http://www.pimcore.org/board/viewtopic.php?f=11&t=288&sid=d09d9aa7a3b3726e1b56b3d5d93f0757&p=912#p912