Home Forums WinForms controls Xceed Grid for WinForms 2 grids on top of each other with synchronized scrolling

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #16858 |

    I need to be able to display 2 sets of rows (with it’s own scroll bars) and common headers.  I’m thing about doing this with 2 grids, one above the other, with the top one displaying the headers.  I would both like to only have 1 horizontal scroll bar the scrolls both of them.  Is this the best way to do this?

    example:

    Headers (common for both sets of rows)    hdr         hdr   hdr  ….etc

    ^
    |
    |
    * (first set of rows with scroll bars)
    |
    v

    ^
    |
    |
    * (second set of rows with scroll bars)
    |
    v

    <————————————–********————————————————————————————->
    (common horizontal scroll bar for both sets of rows)

    Imported from legacy forums. Posted by Bernard (had 1930 views)

    User (Old forums)
    Member
    Post count: 23064

    This should be doable.  We have a topic in the help documentation that shows how to synchronize scrolling on two grids :

    http://doc.xceedsoft.com/products/XceedGrid/How_to_synchronize_the_scrolling_of_two_grids.html 

    You can also control which scrollbars are visible :

    http://doc.xceedsoft.com/products/XceedGrid/Xceed.Grid~Xceed.Grid.GridControl~ScrollBars.html

     

    Imported from legacy forums. Posted by André (had 1884 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.