wxGrid fixed rows

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
wxwxwx
I live to help wx-kind
I live to help wx-kind
Posts: 180
Joined: Thu Dec 20, 2012 4:25 pm

wxGrid fixed rows

Post by wxwxwx »

Hello,
is it possible to have multiple rows which are not scrolled,pegged at the top ?
A kind of multiline row label ?

Thank you
PB
Part Of The Furniture
Part Of The Furniture
Posts: 4193
Joined: Sun Jan 03, 2010 5:45 pm

Re: wxGrid fixed rows

Post by PB »

I do not think so.

Such a feature appears to be planned for 3.2 release ("Implementation of "frozen" columns and rows in wxGrid.") but I do not know if any work on it has been done yet.
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7458
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: wxGrid fixed rows

Post by ONEEYEMAN »

Hi,
No nothing has been done for that.
I believe it was proposed as a GSoC project for either this or previous year but was dropped for some reason (don't remember exactly why).

Thank you.
User avatar
doublemax
Moderator
Moderator
Posts: 19114
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxGrid fixed rows

Post by doublemax »

Unless a volunteer for this feature drops from the sky, i don't expect this to happen. Ever.

There was an alternative to wxGrid, wxAdvtable which supported multiline headers. I don't know if it also supported frozen rows/columns.

If you really, really need this feature, check it out, but it hasn't been updated since 2010.
Image
https://sourceforge.net/projects/wxcode ... xAdvTable/
Use the source, Luke!
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7458
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: wxGrid fixed rows

Post by ONEEYEMAN »

doublemax,
Or it wiull be selected as part of the GSoC project. ;-)
Trouble is - the original author of the wxGrid is most likely not here any more and the control itself is huge.
So unless Vadim will need it for one of his projects in the near future, it will be picked up by GSoC or someone just shows up with the good API/implementation - this will never happen.

Thank you.
higgs
In need of some credit
In need of some credit
Posts: 1
Joined: Tue Feb 07, 2023 4:48 pm

Re: wxGrid fixed rows

Post by higgs »

 
Apparently "freezing" was added Oct '19

"Add support for freezing columns and/or rows in wxGrid."
github.com/wxWidgets/wxWidgets/blob/v3.2.1/docs/changes.txt
 
Post Reply