diff --git a/src/assets/menu/menu.json b/src/assets/menu/menu.json
index f1d7e1619..85ef38a40 100644
--- a/src/assets/menu/menu.json
+++ b/src/assets/menu/menu.json
@@ -469,6 +469,7 @@
{
"name": "TreeTable",
"meta": ["treetable"],
+ "badge": "New",
"children": [
{
"name": "Documentation",
@@ -510,6 +511,11 @@
"name": "Resize",
"to": "/treetable/colresize"
},
+ {
+ "name": "Scroll",
+ "to": "/treetable/scroll",
+ "badge": "New"
+ },
{
"name": "Responsive",
"to": "/treetable/responsive"
diff --git a/src/components/datatable/HeaderCell.vue b/src/components/datatable/HeaderCell.vue
index dd414b106..2a32d7d75 100644
--- a/src/components/datatable/HeaderCell.vue
+++ b/src/components/datatable/HeaderCell.vue
@@ -153,7 +153,7 @@ export default {
let right = 0;
let next = this.$el.nextElementSibling;
if (next) {
- right = DomHandler.getOuterWidth(next) + parseFloat(next.style.left);
+ right = DomHandler.getOuterWidth(next) + parseFloat(next.style.right);
}
this.styleObject.right = right + 'px';
}
diff --git a/src/components/treetable/TreeTable.vue b/src/components/treetable/TreeTable.vue
index cf2e89355..3167efa1b 100755
--- a/src/components/treetable/TreeTable.vue
+++ b/src/components/treetable/TreeTable.vue
@@ -17,12 +17,12 @@
| |
---|---|
+ |
|
- |
-
- |
+ |
+
+
Data scrolling is available horizontally, vertically or both with support for frozen columns.
+Flex scroll feature makes the scrollable viewport section dynamic insteaf of a fixed value so that it can grow or shrink relative to the parent size of the table. + Click the button below to display a maximizable Dialog where data viewport adjusts itself according to the size changes.
+ + +