Re: wxGrid with single row selection

Kenneth Porter <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
On 8/28/2023 8:57 PM, Andrea Gavana wrote:
> Not sure what problems you are encountering, but wxGrid has a 
> SetSelectionMode that allows you to customize what to select:
>
> https://docs.wxwidgets.org/latest/classwx_grid.html#a9da14b2045b0292cecc8e91b65993d29

That selects whether to select by cells, columns, rows. But it doesn't 
restrict the selection to single rows.

It looks like I have to intercept drag events and other things allowing 
multiple rows to be selected, like shift-click.


-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/83b2f33a-c8cc-4ca8-bf1c-accfd506132f%40sewingwitch.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.