Results 1 to 4 of 4

Thread: dataview with items on two columns

  1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    71
    Vote Rating
    5
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

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

  3. #3
    Sencha User
    Join Date
    Mar 2010
    Posts
    71
    Vote Rating
    5
      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
    454
    Vote Rating
    22
      0  

    Default Does this help?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •