Skip to content

Commit

Permalink
feat(treenode-column): left alignment and only deepest node shown (#102)
Browse files Browse the repository at this point in the history
User Story AB#12784 - the new treenode column includes only the deepest node, and visualizes the whole rest of the treenode on hover in a tooltip.
  • Loading branch information
CarloBar1 authored Nov 15, 2023
1 parent b422047 commit 9b22908
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cosmoz-omnitable-treenode-column.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class CosmozOmnitableTreenodeColumn extends columnMixin(PolymerElement) {
valueProperty: { type: String, value: 'name' },
minWidth: { type: String, value: '85px' },
hideFromRoot: { type: Number },
showMaxNodes: { type: Number },
showMaxNodes: { type: Number, value: 1 },
limit: { type: Number },
keepOpened: { type: Boolean, value: true },
keepQuery: { type: Boolean },
Expand Down Expand Up @@ -137,8 +137,7 @@ class CosmozOmnitableTreenodeColumn extends columnMixin(PolymerElement) {
</style>
<cosmoz-treenode
hide-from-root=${ifDefined(column.hideFromRoot)}
show-max-nodes=${ifDefined(column.showMaxNodes)}
no-wrap
show-max-nodes=${column.showMaxNodes}
key-property=${column.keyProperty}
.keyValue=${get(item, column.valuePath)}
value-property=${column.valueProperty}
Expand Down Expand Up @@ -166,6 +165,7 @@ class CosmozOmnitableTreenodeColumn extends columnMixin(PolymerElement) {
active
></paper-spinner-lite>`
);

return html` <style>
cosmoz-autocomplete.cosmoz-treenode-header-input::part(input-label) {
text-transform: var(--cosmoz-omnitable-header-text-transform, none);
Expand Down

0 comments on commit 9b22908

Please sign in to comment.