[wxPython] wxGrid question

hello list,

is it possible to create some kind of a virtual wxGrid?
(like the virtualListCtrl)

it would be nice to keep only the data in memory that is currently
displayed by the grid.
if the user scrolls the list (or resizes the frame) the grid should get
all _necassary_ (=visible) data.

thanks in advance.

regards
achim

Though the front page is currently a bit of a mess (anyone feel like working on it? I'm short of time.), you can read the wxGrid manual, which basically _assumes_ you're going to use the "virtual" version of the wxGrid, and only really discusses that mode of operation.

Note, though, that using the virtualised version basically requires you to be using wxPython 2.3.3 pre 4+, as there have been a number of critical bug fixes during the 2.3.3 beta cycle.

HTH,
Mike

Achim Gosse wrote:

···

hello list,

is it possible to create some kind of a virtual wxGrid?
(like the virtualListCtrl)

it would be nice to keep only the data in memory that is currently
displayed by the grid.
if the user scrolls the list (or resizes the frame) the grid should get
all _necassary_ (=visible) data.

thanks in advance.

regards
achim

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

--
_______________________________________
   Mike C. Fletcher
   http://members.rogers.com/mcfletch/

is it possible to create some kind of a virtual wxGrid?
(like the virtualListCtrl)

The demo shows a wxGrid with 100 million cells. You just need to provide
your own class derived from wxPyGridTableBase that provides the data for
each cell on demand.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Though the front page is currently a bit of a mess (anyone feel like
working on it? I'm short of time.), you can read the wxGrid manual,
which basically _assumes_ you're going to use the "virtual" version of
the wxGrid, and only really discusses that mode of operation.

For the record, this manual is located at
http://wiki.wxpython.org/index.cgi/wxGrid_20Manual

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!