forked from extern/egroupware
Add column alignment in nm
This commit is contained in:
parent
d61a9f4a69
commit
47a2858f7a
@ -529,6 +529,11 @@ var et2_nextmatch = et2_DOMWidget.extend(et2_IResizeable, {
|
||||
{
|
||||
columnWidgets[x] = _row[x].widget;
|
||||
}
|
||||
// Pass along column alignment
|
||||
if(_row[x].align)
|
||||
{
|
||||
columnWidgets[x].align = _row[x].align;
|
||||
}
|
||||
}
|
||||
|
||||
this.rowProvider.setDataRowTemplate(columnWidgets, _rowData, this);
|
||||
|
@ -446,6 +446,11 @@ var et2_nextmatch_rowWidget = et2_widget.extend(et2_IDOMNode, {
|
||||
{
|
||||
this._widgets[i] = _widgets[i].clone(this);
|
||||
this._widgets[i].loadingFinished();
|
||||
// Set column alignment from widget
|
||||
if(this._widgets[i].align)
|
||||
{
|
||||
this._row.childNodes[i].align = this._widgets[i].align;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user