wx.ListCtrl and images

Ok, TreeListCtrl can put images in any columns, but it hasn't virtual style: I must load millions record into list. Also, it hasn't column events (i.e. OnColumnClick).

Stefano C.

···

stefcasa@inwind.it wrote:
> Exists some wx.ListCtrl like control for load images beyond to the first column?
> The wx.Grid is no good idea: is too much slow in phase of rendering with many images and data.

IIRC, I think that the TreeListCtrl can put them in any column.

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

stefcasa@inwind.it wrote:

Exists some wx.ListCtrl like control for load images beyond to the first column?
The wx.Grid is no good idea: is too much slow in phase of rendering with many images and data.

IIRC, I think that the TreeListCtrl can put them in any column.

Ok, TreeListCtrl can put images in any columns, but it hasn't virtual style: I must load millions record into list.

Ah, yes that would be a problem. If you're using a tree column then you can add items as nodes are expanded and removed them as nodes are collapsed. But if you just want to use it was a list then you're right, it wouldn't be suitable for huge data sets.

Also, it hasn't column events (i.e. OnColumnClick).

wx.EVT_LIST_COL_CLICK works with the TreeListCtrl.

···

stefcasa@inwind.it wrote:

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