mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
set class attribute from xet file on the table, like for other widgets too
This commit is contained in:
parent
b1f7d01a71
commit
6f83c4a2e3
@ -132,6 +132,7 @@ export class et2_grid extends et2_DOMWidget implements et2_IDetachedDOM, et2_IAl
|
|||||||
// Create the table body and the table
|
// Create the table body and the table
|
||||||
this.table = jQuery(document.createElement("table"))
|
this.table = jQuery(document.createElement("table"))
|
||||||
.addClass("et2_grid");
|
.addClass("et2_grid");
|
||||||
|
if (_attrs.class) this.table.addClass(_attrs.class);
|
||||||
this.thead = jQuery(document.createElement("thead"))
|
this.thead = jQuery(document.createElement("thead"))
|
||||||
.appendTo(this.table);
|
.appendTo(this.table);
|
||||||
this.tfoot = jQuery(document.createElement("tfoot"))
|
this.tfoot = jQuery(document.createElement("tfoot"))
|
||||||
|
Loading…
Reference in New Issue
Block a user