wxGo icon indicating copy to clipboard operation
wxGo copied to clipboard

How to add data to DataViewListCtrl?

Open any626 opened this issue 7 years ago • 4 comments

I tried to use appendItem to add to a dataviewlist that has two text columns. In the docs it says it requires a wxVector<wxVariant>. I tried a few things but I'm not sure how to implement that. How does append a row to the list?

Sorry, if its a trivial question.

any626 avatar Jun 07 '17 20:06 any626

wxVector isn't wrapped yet... I will do it asap

dontpanic92 avatar Jun 09 '17 14:06 dontpanic92

Closed by c981d316e99205c656d402a899e64924038a89fa right?

Asday avatar Oct 23 '17 10:10 Asday

@Asday Ah, actually yes. I'm leaving this open to remind myself that the feature of subclassing from DataListViewModel is still not implemented, and we may needs an example to show the usage of DataViewListCtrl.

dontpanic92 avatar Oct 24 '17 02:10 dontpanic92

I'm similarly trying to sub-class wx.GridTableBase to use with wx.Grid and not getting very far. And example of this would be extremely helpful. Thanks for you work!

ddrscott avatar Oct 26 '17 22:10 ddrscott