Re: [qooxdoo-devel] Lazy loading of table rows

2010-10-13 Thread Andy Fuchs
Hi Chris,

the function is not available in   qx.ui.table.model.Remote (which it seems
I need for dynamic loading of my data into the table).

I couldn't get the 'sorted' events to fire, so I currently listen to the
'metaDataChanged' event - which works fine - and sort my data manually...

thx

a.


On 13.10.10 15:38, "Christian Hagendorn" 
wrote:

>   Hi Andy,
> 
> I haven't tested it,  but I would try first to set a sort function to
> the column [1] and than apply it [2]. Does this fit your needs?
> 
> Cheers,
> Chris
> 
> [1] 
> http://demo.qooxdoo.org/current/apiviewer/#qx.ui.table.model.Simple~setSortMet
> hods
> [2] 
> http://demo.qooxdoo.org/current/apiviewer/#qx.ui.table.model.Simple~sortByColu
> mn
> 
> Am 13.10.2010 13:48, schrieb Andy Fuchs:
>> Hi there,
>> 
>> got it working nicely by looking at the demo-browser. Since I've still not
>> found any documention about the feature, is there a nice way to sort a
>> virtual table?
>> 
>> a.
>> 
>> 
>> On 12.10.10 23:47, "Andy Fuchs"  wrote:
>> 
>>> Here's the situation:
>>> 
>>> - I have 2 large arrays, where one array gets shown in a table - but it
>>> needs data from the second array (and parsing needs lots of time -
>>> especially on slower machines).
>>> 
>>> Is there a way to just load array 1 (initially) into the table and then
>>> parse/show only the rows shown in the table? (Lazy loading) I was under the
>>> impression that Qx has a mechanism for that, but can't find it.
>>> 
>>> Qx 1.2.x
>>> 
>>> Any info appreciated
>>> 
>>> andy
>>> 
>>> 
>>> 
>>> 
>>> 
>>> --
>>> 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
>>> ___
>>> qooxdoo-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>> 
>> 
>> 
>> 
>> 
->>
-
>> 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
>> ___
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
> --
> 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
> ___
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 




--
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
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Lazy loading of table rows

2010-10-13 Thread Christian Hagendorn
  Hi Andy,

I haven't tested it,  but I would try first to set a sort function to 
the column [1] and than apply it [2]. Does this fit your needs?

Cheers,
Chris

[1] 
http://demo.qooxdoo.org/current/apiviewer/#qx.ui.table.model.Simple~setSortMethods
[2] 
http://demo.qooxdoo.org/current/apiviewer/#qx.ui.table.model.Simple~sortByColumn

Am 13.10.2010 13:48, schrieb Andy Fuchs:
> Hi there,
>
> got it working nicely by looking at the demo-browser. Since I've still not
> found any documention about the feature, is there a nice way to sort a
> virtual table?
>
> a.
>
>
> On 12.10.10 23:47, "Andy Fuchs"  wrote:
>
>> Here's the situation:
>>
>> - I have 2 large arrays, where one array gets shown in a table - but it
>> needs data from the second array (and parsing needs lots of time -
>> especially on slower machines).
>>
>> Is there a way to just load array 1 (initially) into the table and then
>> parse/show only the rows shown in the table? (Lazy loading) I was under the
>> impression that Qx has a mechanism for that, but can't find it.
>>
>> Qx 1.2.x
>>
>> Any info appreciated
>>
>> andy
>>
>>
>>
>>
>> --
>> 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
>> ___
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>
>
>
> --
> 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
> ___
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


--
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
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] Lazy loading of table rows

2010-10-13 Thread Andy Fuchs
Hi there,

got it working nicely by looking at the demo-browser. Since I've still not
found any documention about the feature, is there a nice way to sort a
virtual table?

a.


On 12.10.10 23:47, "Andy Fuchs"  wrote:

> Here's the situation:
> 
> - I have 2 large arrays, where one array gets shown in a table - but it
> needs data from the second array (and parsing needs lots of time -
> especially on slower machines).
> 
> Is there a way to just load array 1 (initially) into the table and then
> parse/show only the rows shown in the table? (Lazy loading) I was under the
> impression that Qx has a mechanism for that, but can't find it.
> 
> Qx 1.2.x
> 
> Any info appreciated
> 
> andy
> 
> 
> 
> 
> --
> 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
> ___
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 




--
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
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel