Sorry, script was wrong:
  <qxt:script"><![CDATA[
    ...
    searchResultTable.getTableModel().setData(data);
    ]]></qxt:script>

converted it from an event handler where the table was "this", but in a
qxt:script it needs to be specifically addresses by the id. 


panyasan wrote:
> 
> The table is pretty easy:
> 
> <qx:table
>   id="searchResultTable"
>   tableModel="simple"
>   width="400" height="500"
>   border="inset-thin">
> 
>   <qx:tableColumn label="Type" width="1*"/>
>   <qx:tableColumn label="Description" width="5*"/>
>   <qx:tableColumn label="Number" width="1*"/>
> 
>   <qxt:script"><![CDATA[
>     var data=[];
>     for ( var i=0; i<500; i++)
>     {
>       data.push(["foo " + i,"bar " +
> Math.floor(Math.random()*100),Math.floor(Math.random()*1000)]);
>     }
>     this.getTableModel().setData(data);
>     ]]></qxt:script>
> </qx:table>
> 
> 
> 
> kc106_2005-qooxdoo wrote:
>> 
>> If I know how....I need the QxTransformer syntax :-)
>> 
>> These are working too:
>> 
>> TextField, TextArea, PasswordField 
>> 
>> These are done:
>> 
>> ToggleButton, MultiColumnList (table), CodeEditor (text editor), Tree,
>> Calendar, Gauge, BitmapCanvas
>> 
>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>> Behalf Of Jim Hunter
>> Sent: Sunday, April 27, 2008 12:13 PM
>> To: [EMAIL PROTECTED]; qooxdoo Development
>> Subject: Re: [qooxdoo-devel] Poor Man's Qooxdoo GUI builder
>> 
>> 
>> Not going to tackle tables? Tables are the main reason I use qooxdoo in
>> the first place.
>> 
>> Jim
>> 
>> 
>> 
>> On Sat, Apr 26, 2008 at 9:29 PM, <[EMAIL PROTECTED]> wrote:
>> 
>> All of these widgets works:
>> 
>> Windows, static texts, buttons, radio button groups, lists, staticboxes,
>> image, image button, checkbox, ToggleButton, StaticLine, Spinner, Choice,
>> ComboBox
>> 
>> See:
>> 
>> http://test.powersystemadvisors.com
>> 
>> 
>> Slight issues with combobox, choice, and statusline but works mostly.
>> 
>> Remaining widgets to do:
>> 
>> TextField, ToggleButton, TextArea, PasswordField, MultiColumnList,
>> CodeEditor, Tree, Calendar, Gauge, BitmapCanvas
>> 
>> and I am done!
>> 
>> 
>> --
>> John Henry
>> 
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>> Don't miss this year's exciting event. There's still time to save $100.
>> Use priority code J8TL2D2.
>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>> 
>> 
>> --
>> John Henry
>> 
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
>> Don't miss this year's exciting event. There's still time to save $100. 
>> Use priority code J8TL2D2. 
>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Re%3A-Poor-Man%27s-Qooxdoo-GUI-builder-tp16920265p16935627.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to