<style lang="scss" scoped>
:deep(.dark-panel.p-panel) {
- .p-panel-titlebar {
+ .p-panel-title {
background: #212121;
}
diff --git a/src/views/treetable/TreeTableDoc.vue b/src/views/treetable/TreeTableDoc.vue
index f1667cae7..0e54b46de 100755
--- a/src/views/treetable/TreeTableDoc.vue
+++ b/src/views/treetable/TreeTableDoc.vue
@@ -889,7 +889,7 @@ data() {
Optionally a global filter is available to search against all the fields, in this case the special global keyword should be the property to be populated.
In addition filterMode specifies the filtering strategy. In lenient mode when the query matches a node, children of the node are not searched further as all descendants of the node are included. On the other hand,
- in strict mode when the query matches a node, filtering continues on all descendants.
+ in strict mode when the query matches a node, filtering continues on all descendants.
<TreeTable :value="nodes" :filters="filters" filterMode="lenient">
@@ -1231,6 +1231,23 @@ export default {
}
+
+ .sm-visible {
+ display: none;
+ }
+
+ @media screen and (max-width: 40em) {
+ :deep(.sm-invisible) {
+ display: none;
+ }
+
+ :deep(.sm-visible) {
+ display: inline;
+ margin-right: .5rem;
+ }
+ }
+
+
Properties
Any property such as style and class are passed to the underlying root element. Following is the additional property to configure the component.
@@ -1293,7 +1310,7 @@ export default {
null |
Number of total records, defaults to length of value when not defined. |
-
+
paginator |
boolean |
false |
@@ -1369,7 +1386,7 @@ export default {
sortField |
string |
null |
- Property name or a getter function of a row data used for sorting by default. |
+ Property name or a getter function of a row data used for sorting by default. |
sortOrder |
diff --git a/src/views/treetable/TreeTableResponsiveDemo.vue b/src/views/treetable/TreeTableResponsiveDemo.vue
index d4755acfd..61a623d72 100755
--- a/src/views/treetable/TreeTableResponsiveDemo.vue
+++ b/src/views/treetable/TreeTableResponsiveDemo.vue
@@ -91,11 +91,11 @@ export default {
}
@media screen and (max-width: 40em) {
- .sm-invisible {
+ :deep(.sm-invisible) {
display: none;
}
- .sm-visible {
+ :deep(.sm-visible) {
display: inline;
margin-right: .5rem;
}
@@ -133,11 +133,11 @@ export default {
}
@media screen and (max-width: 40em) {
- .sm-invisible {
+ :deep(.sm-invisible) {
display: none;
}
- .sm-visible {
+ :deep(.sm-visible) {
display: inline;
margin-right: .5rem;
}