PDA

View Full Version : Multiple images in row and column



newusername
11 Sep 2013, 11:13 PM
I want to show images in row and column but I don't know the total number of images , so I can't specify image name directly. Can anybody guide me how can I do this using extjs.

Thanks

willigogs
12 Sep 2013, 1:14 AM
You are going to have to explain your issue in a bit more detail than that I'm afraid! I still don't understand what you're trying to achieve, what information you DO have, and what information you DON'T...

newusername
12 Sep 2013, 1:17 AM
Sorry for short description.

OK . I want to create a e-commerce application where I can show multiple products in tabular format. If say I do have 100 of products then I need to arrange them 5(cols)*20(rows). To achieve this what kind of component shall I use ?

willigogs
12 Sep 2013, 2:05 AM
Ah ok :)

I would recommend a DataView:
http://dev.sencha.com/deploy/ext-3.4.0/examples/view/data-view.html
http://dev.sencha.com/deploy/ext-3.4.0/examples/view/multisort-dataview.html (http://dev.sencha.com/deploy/ext-3.4.0/examples/view/data-view.html)

newusername
12 Sep 2013, 3:58 AM
But if I use DataView , I need to write template for that and if this has to happen then why should I go with Ext JS component ? I mean I can do it with JSP page as well.