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
375
scroll bar per band ?
posted

Not sure if this is possible, but I remember seeing it done somewhere, it may of not been implemented with a wingrid though.

 What I want to do is limit the number of displayed rows for a given band, allowing the user to scroll through the rest.

Imagine band 0 is populated with invoices, band 1 shows the items on each invoice. What I want to do is only show (say) 6 invoice items on screen, but be able to scroll within the bandto see the other invoice items.

It would be very useful if it was a grid that did this, the only other way I can think of would be to use a wintree and use a grid as the child node to the invoice, which then would have its own scrollbar (I think?)

Any ideas on this ?

 

Thanks

  • 469350
    Offline posted

    The only way to do something like this in the WinGrid is with CardView. If you set CardView to true on a band, then you can set MaxCardAreaRows and MaxCardAreaColumns to limit the number of cards displayed, and then you can scroll within the card area.