I want automatic scroll while dragging the column beyond the visible area.

I want automatic scroll while dragging the column beyond the visible area.

narendravnarendrav 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

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin

    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

  • narendravnarendrav Posts: 4Questions: 2Answers: 0

    Thank you for the help. Will definitely raise PR if implement something like this.

Sign In or Register to comment.