1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    71
    Vote Rating
    5
    mihaipocorschi is on a distinguished road

      0  

    Default dataview with items on two columns

    dataview with items on two columns


    Is it possible to have a dataview with items on two columns?
    something like this
    https://dl.dropbox.com/u/14321413/sc...7123621486.png

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,582
    Vote Rating
    433
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      1  

    Default


    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 Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Mar 2010
    Posts
    71
    Vote Rating
    5
    mihaipocorschi is on a distinguished road

      0  

    Default


    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?

  4. #4
    Sencha User
    Join Date
    Aug 2011
    Location
    London
    Posts
    326
    Vote Rating
    10
    digeridoopoo will become famous soon enough

      0  

    Default Does this help?

    Does this help?


    Does this help? https://github.com/rdougan/barebones-tiled-dataview