c# - Two datagrids that share scroll positions, share datasource but do not sync scroll postion -
Hello Stack Overflow,
I have a winforms app that has two data grid views in the same To control that point on the same binding resource, its purpose is to show the column 'Customer Name' at all times and the remaining datagrid can be reviewed (horizontally scrolled.)
Can I sync up? At present, if the user opens below in the list of scrolling customers, then only one datagrid is affected. Do I need to remove scroll bars from one, and it needs to spin both scenes?
Thank you
You can use the first grid's scrolling event and the first Set the offset scroll of the second grid with the value of the grid scroll
Comments
Post a Comment