Skip to content

Commit

Permalink
Ensure Tabulator expand icon updates on click (#3554)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed May 24, 2022
1 parent 0161763 commit 346278c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions panel/models/tabulator.ts
Expand Up @@ -649,6 +649,8 @@ export class DataTabulatorView extends PanelHTMLBoxView {
}
}
this.model.expanded = expanded
const icon = expanded.indexOf(index) < 0 ? "\u25ba" : "\u25bc"
cell._cell.element.innerText = icon
if (expanded.indexOf(index) < 0)
return
let ready = true
Expand Down

0 comments on commit 346278c

Please sign in to comment.