Panel Tree
Demo
loading
Key Points
Disable Selection for Expandable Rows
Configure the disabled function in row-active to disable selection when a row has children.
Remove Hover Style for Expandable Rows
- Configure
row-class-nameto add thepanel-header-rowclass name when a row has children. - Configure
panel-header-row->--tr-hover-bgc: var(--th-bgc);to maintain consistency with the header background color.
Remove '--' for Expandable Rows
Configure empty-cell-text to return an empty string when a row has children.
Text Overflow for Expandable Rows
Add white-space: nowrap to the cells of expandable rows to prevent text wrapping.
css
:deep(.panel-title > div) {
white-space: nowrap;
overflow: initial;
}