enthought / enthought/traitsui

Selection doesn't work in TableEditor with wxpython backend

Open
#1,938 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
306
Forks
99
PR merge metrics
No merged PRs in 30d

Description

The selection used to work in TableEditor with Python 2 and wxpython 2.8. However, in the latest version (traitsui 7.4.0, wxPython 4.2.0, Python 3.8), selecting any of the rows is not updating the UI.

Steps to reproduce, use https://github.com/enthought/traitsui/blob/7.4.0/traitsui/examples/demo/Standard_Editors/TableEditor_demo.py and add these lines, in the beginning, to select wxpython backed,
```
from traits.etsconfig.api import ETSConfig
ETSConfig.toolkit = 'wx'
```
Run this code and try to select any of the rows:
![image](https://user-images.githubusercontent.com/504110/190922790-90335bee-8f9a-4375-acca-1e6234b09ded.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.