7 Jun 2012 4:51 AM #1
dataview with items on two columns
Is it possible to have a dataview with items on two columns?
something like this
9 Jun 2012 7:21 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Sure it's possible. You can simple use display: inline-block on each dataview item. You will need to handle height and width also in CSS.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
9 Jun 2012 12:34 PM #3
Yeah. What is each dataview item converted to? Could i set its css width to 50% of the parent container so it scales responsivly with different devices?
9 Jun 2012 11:59 PM #4
Does this help?
Does this help? https://github.com/rdougan/barebones-tiled-dataview