Datamanager 2 tabledata widget

This widget allows to create table-like information with Datamanager

Available configuration options

package midcom.helper.datamanager2

 Methods

_on_initialize ()

Initialization script placeholder.

Not yet needed.

Returns

booleanIndicating success

add_elements_to_form ($attributes)

Add elements to form

Parameters

$attributes

freeze ()

sync_type_with_widget ($results)

Check if the sorted order should be returned to type

Parameters

$results

_add_columns (String $row)

Add columns to the widget

Parameters

$row

StringName of the row

_add_rows ()

Add each row

_draw_column_widget ($column, $cell_value, $row)

Draw the column widget

Parameters

$column

$cell_value

$row

_get_rows ()

Get the details on what rows should be printed

Returns

ArrayRow details

 Properties

 

mixed $column_widget

Separate widgets for each column
 

mixed $_elements