Solution 1:
My first thought was the qx.mobile.embed.Html widget ,too.

If you want to use this solution I would propose to use q to append click 
listeners:

q(„#table-cell-id“).on(„click“,function() {});

A few months ago, I also tried to implement my own qx.Mobile table widget. This 
was only a convenience layer which used a 2-dimensional array and parsed it 
into a table.

Finally I decided that it is much easier to use qx.Mobile templating class and 
apply HTML into the app.

qooxdoo has integrated the templating library „mustache.js“:

https://github.com/janl/mustache.js

With this it is very easy to create a HTML table out of JSON data.

Especially the chapter „Lists“ will be interesting for you.

You could pass an array with your data, and mustache would

Have a look at this example:

http://tinyurl.com/p85xh49


Solution 2:
Writing your own list renderer is quite easy, too. I wrote an explanation on 
Stack Overflow:
http://stackoverflow.com/questions/18833656/qooxdoo-mobile-list-view-item-expandable






Am 29.10.2013 um 15:27 schrieb tedi tedi 
<[email protected]<mailto:[email protected]>>:

Hello,

I want to add a table (datagrid) to my page. I did it now using HTML but it not 
exactly what I was expecting:
http://tinyurl.com/papusnn
Now, I would like to show an Anchor Popup or Anchor Menu ( as seen here 
http://demo.qooxdoo.org/current/mobileshowcase/#%2Fdialog ) whenever I click a 
row. And I would like to let the user choose if he wants to Update/Delete the 
row. I guess it's doable with this HTML object, but I was thinking about a list 
renderer but now I realise that using a list I don't know how to set the table 
head.

Can you guys help me with this?
Thank you !

P.S.: Does anyone have an example of a customized List renderer class and how 
to use it ? thx ^.^
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to