I want to select only one row in wxGrid.
Is is possible to disable multiselection in a wxGrid?
I tried SetSelectionMode, it helps me to select only rows. But I cannot use it for single row selection.
Capture the wxEVT_GRID_SELECT_CELL event.
Use GetSelectedRows() to obtain an array of selected rows.
If there are more than one row selected -
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With