mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 18:02:18 +00:00
Moved layout options to TableWidget
Now this is a standard behaviour of TableWidget.
This commit is contained in:
@@ -328,10 +328,7 @@ $filterWidgetArray = array(
|
||||
'datasetRepOptions' => '{
|
||||
height: func_height(this),
|
||||
layout: "fitColumns", // fit columns to width of table
|
||||
persistentLayout:true, // enables persistence (default store in localStorage if available, else in cookie)
|
||||
persistenceID: "acceptLehrauftrag", // TableWidget unique id to store persistence data seperately for multiple tables
|
||||
autoResize: false, // prevent auto resizing of table (false to allow adapting table size when cols are (de-)activated
|
||||
movableColumns: true, // allows changing column
|
||||
headerFilterPlaceholder: " ",
|
||||
index: "row_index", // assign specific column as unique id (important for row indexing)
|
||||
selectable: true, // allow row selection
|
||||
|
||||
@@ -340,10 +340,7 @@ $filterWidgetArray = array(
|
||||
height: func_height(this),
|
||||
layout: "fitColumns", // fit columns to width of table
|
||||
layoutColumnsOnNewData: true, // ajust column widths to the data each time TableWidget is loaded
|
||||
persistentLayout:true, // enables persistence (default store in localStorage if available, else in cookie)
|
||||
persistenceID: "approveLehrauftrag", // TableWidget unique id to store persistence data seperately for multiple tables
|
||||
autoResize: false, // prevent auto resizing of table (false to allow adapting table size when cols are (de-)activated
|
||||
movableColumns: true, // allows changing column
|
||||
headerFilterPlaceholder: " ",
|
||||
groupBy:"lehrveranstaltung_id",
|
||||
groupToggleElement:"header", //toggle group on click anywhere in the group header
|
||||
|
||||
@@ -64,12 +64,6 @@ $tableWidgetArray = array(
|
||||
'Storniert am'
|
||||
),
|
||||
'datasetRepOptions' => '{
|
||||
layout: "fitColumns", // fit columns to width of table
|
||||
layoutColumnsOnNewData: true, // ajust column widths to the data each time TableWidget is loaded
|
||||
persistentLayout: true, // enables persistence (default store in localStorage if available, else in cookie)
|
||||
persistenceID: "cancelledLehrauftrag", // TableWidget unique id to store persistence data seperately for multiple tables
|
||||
autoResize: false, // prevent auto resizing of table (false to allow adapting table size when cols are (de-)activated
|
||||
movableColumns: true, // allows changing column
|
||||
rowFormatter:function(row){
|
||||
func_rowFormatter(row);
|
||||
},
|
||||
|
||||
@@ -375,10 +375,7 @@ $filterWidgetArray = array(
|
||||
height: func_height(this),
|
||||
layout:"fitColumns", // fit columns to width of table
|
||||
layoutColumnsOnNewData: true, // ajust column widths to the data each time TableWidget is loaded
|
||||
persistentLayout:true, // enables persistence (default store in localStorage if available, else in cookie)
|
||||
persistenceID: "orderLehrauftrag", // TableWidget unique id to store persistence data seperately for multiple tables
|
||||
autoResize: false, // prevent auto resizing of table (false to allow adapting table size when cols are (de-)activated
|
||||
movableColumns: true, // allows changing column order
|
||||
headerFilterPlaceholder: " ",
|
||||
groupBy:"lehrveranstaltung_id",
|
||||
groupToggleElement:"header", //toggle group on click anywhere in the group header
|
||||
|
||||
Reference in New Issue
Block a user