today I have two questions. The 1st, is there any solution to show two columns in a dataview with components? And the 2nd question depends on the solution of qestion one. If I have two columns, how can I switch back to one column?
Sounds strange? Here is what I want to build:
I whant to have a list with items, but the items are small and so in every row should be two items (50% width). I also want to give my customers the positility to zoom in. So I want to watch for the pinch-event and then the items should become 100% width and this results in a list the one column and all items are in a own row.
By the way, I whant dynamicaly load the items via ajax, so I do not know, how many items I have to display (thas why I am using a list and not several vboy and hbox layouts).
In the future, perhaps, I want to implement a zoom out, so that there are tree items at one row (33% width).
Is it posible to do this? I think the event handling is the smalest task for me, but I do not know how to implement this kind of layout.