Support width attribute on tree view
issue7503 review53271003
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Add support of width attribute on tree view
|
||||
* Use non conflicting keyboard shortcuts
|
||||
* Use the context to get the suffix of window name
|
||||
* Call on_change methods after setting default dtstart on calendar view
|
||||
|
||||
+6
-1
@@ -424,7 +424,12 @@
|
||||
'boolean': 2,
|
||||
'binary': 20,
|
||||
}[column.attributes.widget] || 10;
|
||||
column.col.css('width', width * 100 + '%');
|
||||
if (column.attributes.width !== undefined){
|
||||
width = column.attributes.width + 'px';
|
||||
} else {
|
||||
width = width * 100 + '%';
|
||||
}
|
||||
column.col.css('width', width);
|
||||
}
|
||||
}.bind(this));
|
||||
this.tbody.find('tr.more-row > td').attr(
|
||||
|
||||
Reference in New Issue
Block a user