Automatic scroll to the beggining of a spanned cell

Dec 12, 2014 at 11:20 AM
Edited Dec 16, 2014 at 12:10 PM
I have a grid with many cells that span over many colums. I also implmemented drag & drop for these cells.
The problem is when I select one of this cells, grid will automatically scroll to the beginning of the selected cell, which is confusing since you started your drag somewhere else in grid. Is there any way I could disable this behaviour? Meaning that grid doesn't scroll automatically to the begining of a selected cell.
I have tried setting grid.AutoScroll to false and setting grid.Selection.FocusColumn(originalClickColumn) but nothing worked.

Thank you in advance.
Dec 16, 2014 at 12:58 PM
Solution -> catching HScrollPositionChanged event and reseting HScrollBar value.