On Feb 17, 2026, at 09:09, Драган Недељковић <[email protected]> wrote:
> 
> In a dgrid, I can select individual rows, or a contiguous range of rows (by 
> shift-click). What I'd like to be able to do is to also have ctrl+click, 
> which would select individual rows without unselecting the current selection.
> 
> Is there some property I failed to set, or something else?

As far as I can tell from the wxPython docs, it isn't possible. I just tried 
interactively by calling:

grd.SelectRow(0, addToSelected=False)
# the top row is selected

grd.SelectRow(1, addToSelected=True)
# the first two rows are selected

grd.SelectRow(4, addToSelected=True)
# only the fourth row is selected

-- Ed Leafe

_______________________________________________
Dabo-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to