Hi,
Is it possible to scroll across the rows by dragging a row from the top of the grid to the bottom of the grid?
Thanks,
Mani
Hello Mani,
Thank you for posting in our community.
What I can suggest, for achieving your requirement, is to use the dragMove event of the IgxDragDirective and then to check for the position of the row based on the IgxTreeGridComponent body and if it is at the most top or bottom point to get the verticalScrollContainer that the IgxTreeGridComponent uses and to scroll the IgxTreeGridComponent using the scrollNext or scrollPrev method of the verticalScrollContainer. I crated a small sample illustrating my approach, which you can find here. Please test it on your side and let me know whether you find it helpful.
Please let me know if you have any further questions or concerns.
Regards,
Viktor Kombov
Entry Level Software Developer
Infragistics, Inc.
Hello Viktor,
Thank you for the Response.
I can scroll only till a particular row when dragging the row downwards.
I guess it is scrolling till what we have in the data list.
Can you please specify what do you mean by a particular row. I have tested the sample of my colleague, and I am able to scroll down to the last row of the current page.
If you mean dragging to another page, I don't believe this will be possible, however you can submit it as feature request and discuss it with our engineers.
If you have any further questions, please let me know.
Sincerely,Tihomir TonevAssociate Software DeveloperInfragisitics
Hello,
Thank you for the reply.
I'm now able to scroll across the grid but I am getting an incorrect dragged row value during the drop.
Drag data is correct when I drop without scrolling the grid page and once the viewport changes, the drag data value is changing
Hello Manikanta,
We were able to reproduce the described behavior on our side and we are currently looking into this matter for you.
Will keep you posted on the progress.