Re: [qooxdoo-devel] Html table

2007-02-07 Thread zindel
> You could try to use qx.ui.basic.Inline > (http://api.qooxdoo.org/current/#qx.ui.basic.Inline). Take a look at the > inline demos > (http://demo.qooxdoo.org/current/sample/html/example/Inline_1.html). > > var inline = qx.ui.basic.Inline(document.getElementById('test')); > inline.add(btnRun); > ..

Re: [qooxdoo-devel] Html table

2007-02-06 Thread Fabian Jakobs
[EMAIL PROTECTED] schrieb: > I tried it. Unfortunatelly, GridLayout doesn't meet my requirements and I > need > exactly html table. > >> I suggest that you look at using a GridLayout as a replacement for an HTML >> table. Check out the demos of it. >> > > And one more related question. H

Re: [qooxdoo-devel] Html table

2007-02-06 Thread zindel
On Wednesday 07 February 2007 00:46, you wrote: > I think your issue is the use of 'this' inside the eventlistener. At that > point, 'this' might not refer to what you think it does. I suggest creating > a variable of 'this' prior to the eventlistener code and use the variable > inside the function

Re: [qooxdoo-devel] Html table

2007-02-06 Thread Jim Hunter
I think your issue is the use of 'this' inside the eventlistener. At that point, 'this' might not refer to what you think it does. I suggest creating a variable of 'this' prior to the eventlistener code and use the variable inside the function. That should clear up any ambiguity it might have. Ji

Re: [qooxdoo-devel] Html table

2007-02-06 Thread zindel
On Wednesday 07 February 2007 00:11, you wrote: > var element = document.getElementById(id); > > the above line will not work until the object has been rendered. At the > point you are trying to use it, the object has been created but not > rendered. You need to place the entire for loop into a fun

Re: [qooxdoo-devel] Html table

2007-02-06 Thread Jim Hunter
No, it only helps after the page is rendered and you want to add something to it. Sometimes when trying to add new objects to an already rendered page, the objects don't seem to update properly or display at all (it's rare). In those cases, adding the flush globals call can help nudge qooxdoo into

Re: [qooxdoo-devel] Html table

2007-02-06 Thread zindel
On Wednesday 07 February 2007 00:11, you wrote: > var element = document.getElementById(id); > > the above line will not work until the object has been rendered. At the > point you are trying to use it, the object has been created but not > rendered. You need to place the entire for loop into a fun

Re: [qooxdoo-devel] Html table

2007-02-06 Thread Jim Hunter
var element = document.getElementById(id); the above line will not work until the object has been rendered. At the point you are trying to use it, the object has been created but not rendered. You need to place the entire for loop into a function that is called in the layout event 'appear'. This

Re: [qooxdoo-devel] Html table

2007-02-06 Thread zindel
> This should work. But this is really not a thing qooxdoo supports. > The element property can be seen as protected - even if not declared > as this currently. Unfortunatelly, this code doesn't work (getElementById always returns null). Maybe I'm doing something wrong? Could you plz correct me t

Re: [qooxdoo-devel] Html table

2007-02-06 Thread zindel
On Tuesday 06 February 2007 23:30, you wrote: > Just to satisfy my curiosity, why do you 'need' to use an html table? I > stopped using them years ago in favor of DIV's and CSS. What do you think > an html table gives you that a qooxdoo control or plain div's can't give > you? > > Jim Well, I have

Re: [qooxdoo-devel] Html table

2007-02-06 Thread Jim Hunter
Just to satisfy my curiosity, why do you 'need' to use an html table? I stopped using them years ago in favor of DIV's and CSS. What do you think an html table gives you that a qooxdoo control or plain div's can't give you? Jim On 2/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi Sebasti

Re: [qooxdoo-devel] Html table

2007-02-06 Thread zindel
Hi Sebastian, I see, but I really need this functionality working, since I need the html table, which has great positioning abilities. Thanks, Alexei Golovko > This should work. But this is really not a thing qooxdoo supports. > The element property can be seen as protected - even if n

Re: [qooxdoo-devel] Html table

2007-02-06 Thread Sebastian Werner
This should work. But this is really not a thing qooxdoo supports. The element property can be seen as protected - even if not declared as this currently. Sebastian Am 06.02.2007 um 21:45 schrieb [EMAIL PROTECTED]: > Thanks for your help, Derrell. > I have one more question - will this code

Re: [qooxdoo-devel] Html table

2007-02-06 Thread Derrell . Lipman
[EMAIL PROTECTED] writes: > Thanks for your help, Derrell. > I have one more question - will this code work: > > var test = document.getElementById('test'); > var btnRun = new qx.ui.form.Button('Run!'); > btnRun.set({...}); > qx.ui.core.Widget.flushGlobalQueues(); > > test.appendChild(btnRun.getE

Re: [qooxdoo-devel] Html table

2007-02-06 Thread zindel
Thanks for your help, Derrell. I have one more question - will this code work: var test = document.getElementById('test'); var btnRun = new qx.ui.form.Button('Run!'); btnRun.set({...}); qx.ui.core.Widget.flushGlobalQueues(); test.appendChild(btnRun.getElement()); > > And one more related questi

Re: [qooxdoo-devel] Html table

2007-02-06 Thread Derrell . Lipman
[EMAIL PROTECTED] writes: > I tried it. Unfortunatelly, GridLayout doesn't meet my requirements and I > need > exactly html table. >> I suggest that you look at using a GridLayout as a replacement for an HTML >> table. Check out the demos of it. > > And one more related question. Here is the pi

Re: [qooxdoo-devel] Html table

2007-02-06 Thread zindel
I tried it. Unfortunatelly, GridLayout doesn't meet my requirements and I need exactly html table. > I suggest that you look at using a GridLayout as a replacement for an HTML > table. Check out the demos of it. And one more related question. Here is the piece of code: var test = document.getEl

Re: [qooxdoo-devel] Html table

2007-02-06 Thread Jim Hunter
I suggest that you look at using a GridLayout as a replacement for an HTML table. Check out the demos of it. Jim On 2/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi Is there a simple (or, actually, any) way to use html table like qooxdoo's native layout? And in general, is it possible

[qooxdoo-devel] Html table

2007-02-06 Thread zindel
Hi Is there a simple (or, actually, any) way to use html table like qooxdoo's native layout? And in general, is it possible to easy embed table to the qooxdoo widget in the most "qooxdoo-native" way (for example, if I add new rows to table the parent layout auto-grows etc.) Could anyone sugges