现在用cardview显示数据有个问题,它显示是第一列显示满后再显示第二列,我希望的是它能按行从左往右显示,显示满第一行后(比如一行10个card),再从第二行开始显示。现情况:card1      card11
card2      card12
card3        .
card4        .
card5        .
card6        .
card7
card8
card9
card10希望情况:
card1    card12    card3    card4    card5    card6    card7    card8    card9    card10 
card11   card13    ......         

解决方案 »

  1.   

    developer Express  xtragrid组件
      

  2.   

    效果应该是:
    Crad1    card2 
    card3    card4
    不是数据的问题,是显示的问题,影响美观!!楼主。。对不!
      

  3.   

    打开属性编辑,选择features browser再选择card Layout修改general setting中的MaximumCardColumns的值改成-1就可实现横向排列了!
      

  4.   

    Created by Sigal Karev at 4/14/2008 7:00:43 AM Hi,I would like to have the flow direction of the card view to be from left to right in a multi-column mode? is it possible?so the cards will be arranged:
      1 2 3 4
      5 6 7 8
    and the scrollbar will be vertically.
     
     
    Reviewed by DevExpress Team at 4/14/2008 7:57:19 AM  
     
    Processed (Answered) by DevExpress Team at 4/14/2008 12:01:49 PM Hi Sigal,I suggest that you use our Layout View, rather than Card View. For an example on how to implement the required layout (Multiple Rows), please see our 'Layout View' demo (XtraGrid Main Demo). As for the vertical scrollbar, this feature will be implemented in the near future (suggestion S19597).Thank you
    Nathan
     
     
    Reactivated by Sigal Karev at 4/14/2008 12:19:01 PM How can i see the S19597?
     
     
    Processed (Answered) by DevExpress Team at 4/14/2008 12:30:03 PM Follow this link: http://www.devexpress.com/Support/Center/ViewIssue.aspx?issueid=S19597Nathan