Re: [qooxdoo-devel] Hide header row in TreeVirtual (redux)

2010-02-12 Thread Stefan Volbers
Works perfectly, thanks for the quick answer! Greetings, Stefan On 12.02.2010 16:29, Dave Baggett wrote: > > You can pass a tablePaneHeader key to the call to new > qx.ui.treevirtual.TreeVirtual, like so: > > tree = new qx.ui.treevirtual.TreeVirtual("Tree", { tablePaneHeader: function > (obj) { r

Re: [qooxdoo-devel] Hide header row in TreeVirtual (redux)

2010-02-12 Thread Derrell Lipman
On Fri, Feb 12, 2010 at 10:29, Dave Baggett wrote: > > You can pass a tablePaneHeader key to the call to new > qx.ui.treevirtual.TreeVirtual, like so: > > tree = new qx.ui.treevirtual.TreeVirtual("Tree", { tablePaneHeader: > function > (obj) { return new your_header_class(obj); }); > > That's wha

Re: [qooxdoo-devel] Hide header row in TreeVirtual (redux)

2010-02-12 Thread Dave Baggett
You can pass a tablePaneHeader key to the call to new qx.ui.treevirtual.TreeVirtual, like so: tree = new qx.ui.treevirtual.TreeVirtual("Tree", { tablePaneHeader: function (obj) { return new your_header_class(obj); }); That's what I do, at least. Dave -- View this message in context: http://n

Re: [qooxdoo-devel] Hide header row in TreeVirtual (redux)

2010-02-11 Thread Stefan Volbers
Hi Dave, resurrection reloaded:-) I tried your concept (thanks for that) and I see the results you describe. Now I'd like to try your proposed pane header class; no problem constructing the class and instantiating the pane header object, but where do I declare that the pane scroller should use

Re: [qooxdoo-devel] Hide header row in TreeVirtual (redux)

2009-11-26 Thread thron7
Hi Dave, thanks for reporting this back. - T. Dave Baggett wrote: > I'm resurrecting this old thread to report on how I solved this. The goal was > to have a treevirtual with no header row. As discussed in this thread, the > obvious idea of setting the height to zero does not work, because a heigh

[qooxdoo-devel] Hide header row in TreeVirtual (redux)

2009-11-24 Thread Dave Baggett
I'm resurrecting this old thread to report on how I solved this. The goal was to have a treevirtual with no header row. As discussed in this thread, the obvious idea of setting the height to zero does not work, because a height of zero is ignored. If you hide the header by doing this: table.ge

Re: [qooxdoo-devel] Hide header row in TreeVirtual (redux)

2009-11-24 Thread panyasan
I vote for including this as a patch in the framework. It is a hack, but not one that does any harm. Dave Baggett wrote: > > I'm resurrecting this old thread to report on how I solved this. The goal > was to have a treevirtual with no header row. As discussed in this thread, > the obvious idea

Re: [qooxdoo-devel] Hide header row in TreeVirtual

2009-10-14 Thread Derrell Lipman
On Wed, Oct 14, 2009 at 13:01, Derrell Lipman < derrell.lip...@unwireduniverse.com> wrote: > On Wed, Oct 14, 2009 at 13:00, panyasan wrote: > >> >> The error was: >> >> this.__header.getContainerLocation() is null >> >> http://localhost:8080/Bibliograph/qooxdoo-trunk/framework/source/class/qx/ui/

Re: [qooxdoo-devel] Hide header row in TreeVirtual

2009-10-14 Thread Derrell Lipman
On Wed, Oct 14, 2009 at 13:00, panyasan wrote: > > The error was: > > this.__header.getContainerLocation() is null > > http://localhost:8080/Bibliograph/qooxdoo-trunk/framework/source/class/qx/ui/table/pane/Scroller.js > Line 1834 > > Oh, ok. It's happening too early, before the stuff is rendered

Re: [qooxdoo-devel] Hide header row in TreeVirtual

2009-10-14 Thread Derrell Lipman
On Wed, Oct 14, 2009 at 12:55, panyasan wrote: > > Derrell, thanks for the patch, but I think we're not quite there ;-) > > http://n2.nabble.com/file/n3824097/Bild%2B1.png > What's your second column? Can you provide a playground sample that demonstrates what you're seeing here? D -

Re: [qooxdoo-devel] Hide header row in TreeVirtual

2009-10-14 Thread panyasan
The error was: this.__header.getContainerLocation() is null http://localhost:8080/Bibliograph/qooxdoo-trunk/framework/source/class/qx/ui/table/pane/Scroller.js Line 1834 panyasan wrote: > > > Derrell Lipman wrote: >> >> On Sun, Oct 11, 2009 at 05:47, panyasan wrote: >> >>> >>> I tried "tr

Re: [qooxdoo-devel] Hide header row in TreeVirtual

2009-10-14 Thread Derrell Lipman
On Wed, Oct 14, 2009 at 12:55, panyasan wrote: > > Derrell, thanks for the patch, but I think we're not quite there ;-) > > http://n2.nabble.com/file/n3824097/Bild%2B1.png > What the heck is it doing? Sorry I don't have time to futz with it further right now, but I think I've given you a hi

Re: [qooxdoo-devel] Hide header row in TreeVirtual

2009-10-14 Thread panyasan
Derrell Lipman wrote: > > On Sun, Oct 11, 2009 at 05:47, panyasan wrote: > >> >> I tried "tree.setHeaderCellHeight(0);", but the header is still showing. >> >> Try this in the playground (trunk): >> >> var tree = new qx.ui.treevirtual.TreeVirtual( ["blah"] ); >> tree.setHeaderCellHeight(0); >>

Re: [qooxdoo-devel] Hide header row in TreeVirtual

2009-10-14 Thread Derrell Lipman
On Sun, Oct 11, 2009 at 05:47, panyasan wrote: > > I tried "tree.setHeaderCellHeight(0);", but the header is still showing. > > Try this in the playground (trunk): > > var tree = new qx.ui.treevirtual.TreeVirtual( ["blah"] ); > tree.setHeaderCellHeight(0); > this.getRoot().add(tree); > > Header s

Re: [qooxdoo-devel] Hide header row in TreeVirtual

2009-10-14 Thread panyasan
Any suggestion? Should I open a bug for this? C. panyasan wrote: > > Hi, > > I tried "tree.setHeaderCellHeight(0);", but the header is still showing. > > Try this in the playground (trunk): > > var tree = new qx.ui.treevirtual.TreeVirtual( ["blah"] ); > tree.setHeaderCellHeight(0); > this.ge

Re: [qooxdoo-devel] Hide header row in TreeVirtual

2009-10-11 Thread panyasan
Hi, I tried "tree.setHeaderCellHeight(0);", but the header is still showing. Try this in the playground (trunk): var tree = new qx.ui.treevirtual.TreeVirtual( ["blah"] ); tree.setHeaderCellHeight(0); this.getRoot().add(tree); Header still there. Christian P.S. BTW, the playground is such a gr

Re: [qooxdoo-devel] Hide header row in TreeVirtual

2009-04-20 Thread Jim Hunter
I think if you simply set the height to 0 it will work, and that is the easiest thing to do. Jim On Fri, Apr 17, 2009 at 12:59 PM, dmbaggett wrote: > > What is the proper way to hide the header row in a (single-column) > TreeVirtual? I looked at making my own headerrenderer, but that seemed > a

[qooxdoo-devel] Hide header row in TreeVirtual

2009-04-20 Thread dmbaggett
What is the proper way to hide the header row in a (single-column) TreeVirtual? I looked at making my own headerrenderer, but that seemed awfully complicated. Do I really need to do that? Dave -- View this message in context: http://www.nabble.com/Hide-header-row-in-TreeVirtual-tp23104983p2310