Hi,
you have to create your own list renderer for this purpose.
Create a new class which extends qx.ui.mobile.list.renderer.Abstract
for example yourapp.view.renderer.Renderer
As a good starting point you can have a look (or copy )
qx.ui.mobile.list.renderer.Default<http://demo.qooxdoo.org/current/apiviewer/#qx.ui.mobile.list.renderer.Default>
https://github.com/qooxdoo/qooxdoo/blob/199a9f2b5082c630a7d00dc1cacad784e3fd8937/framework/source/class/qx/ui/mobile/list/renderer/Default.js
Then you should use it with:
var yourList = new qx.ui.mobile.list.List({
configureItem: function(item, data, row) {
...
},
createItemRenderer: function() {
return new yourapp.view.renderer.Renderer();
}
});
The configureItem method to the wrong point to inject new items. You have to
create your labels and icons inside the renderer init() method, and then
just change the properties inside the configureItem method.
Greetz Christopher
Am 10.09.2013 um 22:28 schrieb rsantiagopaz:
Hi (sorry the english)
I can't understand the qx.ui.mobile.list.renderer.
Check this little example:
http://tinyurl.com/p8djnxw
I need a TextField for each label in extras, for each item in the list.
Why the item's title are unique, but the item itself is not unique?
Why the TextFields and Labels for a item appears in other item?.
thanks
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/question-about-list-and-qx-ui-mobile-list-renderer-tp7584593.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel