Hi Simon,

yes, you can't use the qx.data.controller.List with the qx.ui.list.List because the virtual list does the data binding feature by default.

Here you can fined links to all available demos [1] and the grouping demo uses a store to get the persons.

If you have further questions please ask.

Cheers,
Chris

[1] http://manual.qooxdoo.org/current/pages/widget/virtuallist.html#demos <http://manual.qooxdoo.org/current/pages/widget/virtuallist.html#demos>

Am 15.09.2011 22:09, schrieb Simon White:
It appears that I cannot use the qx.data.controller.List with Virtual
lists so I need an example of how to setup and use a store with Virtual
Lists.

Simon

On 15/09/2011 3:36 PM, Simon White wrote:
Hi

I am using a list (__lstView) based on qx.ui.list.List and trying to
bind its controller (__navViewCtrl) to a store (__dbfARMaster) using:

this.__navViewCtrl = new
qx.data.controller.List(null,this.__navView.__lstView);

this.__navViewCtrl.setLabelPath("ID1");

this.__dbfARMaster.bind("model.ARMaster",this.__navViewCtrl,"model");

However I get the following error:

Uncaught TypeError: Object dcbase.lstStd[495-0] has no method
'getChildren'

So how do I bind the virtual list to a store?

Thanks,
Simon



------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/


------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to