Returns the layout schema for table-type views (ViewTable, ViewPickerTable).
Source
protected function get_table_layout_schema() {
return array(
'type' => 'object',
'properties' => array(
'styles' => array(
'type' => 'object',
'additionalProperties' => $this->get_column_style_schema(),
),
'density' => array(
'type' => 'string',
'enum' => array( 'compact', 'balanced', 'comfortable' ),
),
'enableMoving' => array(
'type' => 'boolean',
),
),
);
}
Changelog
| Version | Description |
|---|---|
| 7.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.