wxDataViewCtrl cells selecting Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
liberbear
In need of some credit
In need of some credit
Posts: 5
Joined: Tue Mar 23, 2021 7:25 am

wxDataViewCtrl cells selecting

Post by liberbear »

Is there any solution for selecting cells in wxDataViewCtrl ( Excel like) ?
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: wxDataViewCtrl cells selecting

Post by ONEEYEMAN »

Hi,
You mean programmatically?
Or give the visible cue?
Did you look at the docs?
Did you try the sample?
liberbear
In need of some credit
In need of some credit
Posts: 5
Joined: Tue Mar 23, 2021 7:25 am

Re: wxDataViewCtrl cells selecting

Post by liberbear »

ONEEYEMAN wrote: Tue Mar 23, 2021 12:42 pm Hi,
You mean programmatically?
Or give the visible cue?
Did you look at the docs?
Did you try the sample?
I have tried the sample.
I looked at the docs.

All i have understood is that we can selecting in dataviewctrl only by whole row,
but i want to do it by cells like excel.
Attachments
selecting_example.png
selecting_example.png (20.99 KiB) Viewed 671 times
User avatar
doublemax
Moderator
Moderator
Posts: 19115
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxDataViewCtrl cells selecting

Post by doublemax »

All i have understood is that we can selecting in dataviewctrl only by whole row,
but i want to do it by cells like excel.
No. Only wxGrid can do that.
https://docs.wxwidgets.org/trunk/classwx_grid.html
Use the source, Luke!
liberbear
In need of some credit
In need of some credit
Posts: 5
Joined: Tue Mar 23, 2021 7:25 am

Re: wxDataViewCtrl cells selecting

Post by liberbear »

doublemax wrote: Wed Mar 24, 2021 6:10 am
All i have understood is that we can selecting in dataviewctrl only by whole row,
but i want to do it by cells like excel.
No. Only wxGrid can do that.
https://docs.wxwidgets.org/trunk/classwx_grid.html
Thanks
Post Reply