PC Review


Reply
Thread Tools Rate Thread

Synchronising two datagrids

 
 
andypopeuk@yahoo.co.uk
Guest
Posts: n/a
 
      9th Dec 2003
I'm trying to sychronise the scrolling of data in two
datagrids that are bound to the same dataset. I have
managed to synchronise the scrolling of the scrollbars by
subclassing the datagrid class and setting the values of
the grid's vscrollbar and when the scroll event is raised
on one grid I set the vscrollbar value on the other grid.

Using this technique can quite happly move both scroll
bars by moving one or the other but the data displayed
only moves when the user clicks on the vertical scroll bar.

Can Anyone provde me with the missing peice of information
to complete the jigsaw?

Thanks

AndyP
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Datagrids mfleet1973@yahoo.ca Microsoft VB .NET 4 20th Jun 2006 09:13 AM
Datagrids Uncle X Microsoft C# .NET 0 8th Feb 2006 04:51 PM
Synchronising two datagrids together. anon Microsoft VB .NET 2 20th Mar 2005 08:47 PM
XML and Datagrids Steve Microsoft VB .NET 0 27th Oct 2003 09:36 PM
datagrids..... i just cant get them to do what i want Mike Fellows Microsoft VB .NET 7 20th Oct 2003 05:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:21 PM.