I have a DataViewCtrl in my project (wxPython v4.1.0a1) with a tree consisting of Words (parent nodes) and Examples (children nodes). The grid has two columns: “Words” (DataViewTextRenderer) and “Select” (DataViewCheckIconTextRenderer).
- from HasContainerColumns I return True for Select for parent object. This works and shows the checkboxes for parent nodes
- from HasContainerColumns I return False for Select for children. This doesn’t work and doesn’t hide checkboxes for children nodes
- from HasValue I tried to return the same configuration, but it seems to be never called at all.
Could anyone advise how I can disable checkboxes for children? Thank you!!