On Tue, Feb 7, 2012 at 06:30, Phyo Arkar <[email protected]> wrote:

> Hmm TreeVirtual inherits Table
>
> Does that mean that I can use remote data model directly ???


TreeVirtual is based on Table. It does not use either the Simple table
model nor the Remote model. Instead, it operates by using its own
SimpleTreeDataModel. This model supports retrieving children at the time
that a parent node is opened, and can choose to dispose of those children
at the time that their parent node is closed. That may well be adequate for
you, if you don't have arbitrarily deep subtrees or huge numbers of
children of a single parent.

Because of the tree-based sorting required to implement a tree, true,
general-purpose Remote-model-like retrieval is likely a fairly difficult
task. Your choices would be to extend the SimpleTreeDataModel and implement
it based on TreeVirtual, or implement it based on Tree, which is part of
the Virtual infrastructure. The latter would probably be better from a
qooxdoo point of view, since that's the direction that qooxdoo is moving,
but I'm not sure which of these likely-non-trivial options would be easier.

Cheers,

Derrell


> On Tue, Feb 7, 2012 at 5:13 PM, Phyo Arkar <[email protected]>wrote:
>
>> Hello Qooxdoo!
>>
>> I am going to implement a TreeGrid like those exist in JqGrid and EXTJS .
>>
>> I need some pointers.
>>
>> 1. Should i base it off on qx's Table ? It seems hard to do one in
>> Qooxdoo table but , I will need Remote Table Model. Coz it will grow to
>> million of rows easily.
>> 2. Virtual Tree  (or Tree Virtual? ) with multiple is a good candidate
>> but they do not have Remote Table Model.
>>
>> Can you guys suggest please?
>>
>>
>>
>>
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to