Page 1 of 1

Map result to gridview for resultpage

Posted: Fri May 22, 2015 10:20 am
by AndreasHerold

In my app there is a resultpage that has to show the results of a rest-request.
I would like to use a gridview, so when I have a portrait layout there are maybe 2 elements per row and when there is the landscape layout then I want more elements per row (maybe 5 or more).
That depends on the device (smartphone or tablet), for example a tablet in portrait mode has to show more element per row than a smartphone.
I just want to use the "grid" element with a custom component, but that just doesn't seem to work. Any idea, regarding gridview?
Thanks in advance


Map result to gridview for resultpage

Posted: Fri May 22, 2015 2:26 pm
by AndreasHerold

Never mind. I just take the list component and put the results in there. To make it responsive I just add some css.


Map result to gridview for resultpage

Posted: Fri May 22, 2015 3:12 pm
by Evgene Karachevtsev

Hello Andreas,

Thank you for the update.