On Thu, Oct 14, 2010 at 11:00 AM, Jean-Yves F. Barbier <12u...@gmail.com> wrote: > Hi list, > > So I'm looking after advices (or code if it has already be done); my needs > are: > * Re-sort the tabular view by clicking on a column (and display which one > is the base of the sort & in which direction: ASC or DESC), > * Moving a column from its place to another (swapping org and dest columns),
Not by dragging, however you can do it by using a dialog to allow the user to reorder the columns. > * Having a research box that auto-bind to this sorted column, ?? > * Don't display/read all DB rows at once (as some tables are > 200 millions > rows) You want to use a wxGrid "virtual table" which means that you will have a function called for the values of each cell that is currently visible. Your function will return string that you want displayed. > My questions are: > * What widget should I use as a base for that? > * How to manage "DB sliced readings" from this widget? You would want to use the wxGrid control. If I remember correct this sample does something like what you need (which I have to add to the wxLua samples). http://sourceforge.net/tracker/?func=detail&aid=2418101&group_id=140042&atid=745326 Regards, John ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users