Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
200
Column width in Card View
posted

I have a WinGrid with Card View enabled (single horizontal row is flipped vertically). I am only going to have a single card in this grid so I want to be able to extend the cells (second column) to occupy the entire display area of the grid. Setting Column.Width does not seem to do the trick.  What is the easiest way to do this?

Also, how do I get rid of the disabled horizontal scroll bar at the bottom of the grid?

Thanks.

  • 469350
    Suggested Answer
    Offline posted

    jcoladon said:
    I have a WinGrid with Card View enabled (single horizontal row is flipped vertically). I am only going to have a single card in this grid so I want to be able to extend the cells (second column) to occupy the entire display area of the grid. Setting Column.Width does not seem to do the trick.  What is the easiest way to do this?

    I think you need to use the band.CardSettings.Width property to set the total width of each card.

    jcoladon said:
    Also, how do I get rid of the disabled horizontal scroll bar at the bottom of the grid?

    Use the CardScrolBars property, also on the CardSettings of the band.