I want automatic scroll while dragging the column beyond the visible area.
I want automatic scroll while dragging the column beyond the visible area.
narendrav
Posts: 4Questions: 2Answers: 0
I am using DataTable having columns more than 100 and I want to drag a column beyond the visible area of the Table and want DataTable automatically scroll while dragging. How Can I achieve this.
Answers
I'm afraid there is no option for this in ColReorder. You'd most likely need to modify ColReorder to detect when the mouse is close to the edge of the scrolling container and change the horizontal scroll as needed.
I'm actually slightly surprised it doesn't do that already - its the kind of thing we should have caught. I've added it to the list of things to do, but if you add it before I do, a PR would be welcome.
Allan
Thank you for the help. Will definitely raise PR if implement something like this.