I finally got something digging the documentation
I mirror what Crosselector do. I took advantage of CompositeWidget.
The dropdown is a Checkbox where I replace via CSS the appearance.
It was not so easy but I learn a lot aha.
The only things I miss now is to inject directly the CSS for this widget. I use a Font awesome icon to replace it.
pn.extension(raw_css=[css], css_files=css_files)
Next step would be to have a “SuperComposit”
widget to embed the two TreeViewCheckBox or not…
Any suggestions for this appreciated.
I may do PR if interested.