Moved empty table placeholder text to TableWidget

Now this is a standard behaviour of TableWidget.
This commit is contained in:
Cris
2020-01-30 12:43:50 +01:00
committed by hainberg
parent e1df2cbf23
commit 6897ccdd6b
8 changed files with 8 additions and 22 deletions
@@ -332,7 +332,6 @@ $filterWidgetArray = array(
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
placeholder: func_placeholder(),
headerFilterPlaceholder: " ",
index: "row_index", // assign specific column as unique id (important for row indexing)
selectable: true, // allow row selection
@@ -344,7 +344,6 @@ $filterWidgetArray = array(
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
placeholder: func_placeholder(),
headerFilterPlaceholder: " ",
groupBy:"lehrveranstaltung_id",
groupToggleElement:"header", //toggle group on click anywhere in the group header
@@ -70,7 +70,6 @@ $tableWidgetArray = array(
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
placeholder: func_placeholder(),
rowFormatter:function(row){
func_rowFormatter(row);
},
@@ -379,7 +379,6 @@ $filterWidgetArray = array(
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
placeholder: func_placeholder(), // shown on empty table (no data)
headerFilterPlaceholder: " ",
groupBy:"lehrveranstaltung_id",
groupToggleElement:"header", //toggle group on click anywhere in the group header