PDA

View Full Version : Scrolling on TreeGrid



A.Rothe
8 Nov 2011, 3:51 AM
Hi,

I'm using a TreeGrid and try to reorder some data on the tree per DnD. But if I drag some nodes, the tree doesn't scroll vertically :((. Is that not possible?

Thank you
Andre

sven
8 Nov 2011, 4:11 AM
http://www.sencha.com/examples/#reorderingtreegrid

W (http://www.sencha.com/examples/#reorderingtreegrid)orks fine for me on that example. I drag a node and go to the bottom of the grid. Than the grid starts scrolling.

A.Rothe
8 Nov 2011, 4:19 AM
http://www.sencha.com/examples/#reorderingtreegrid

W (http://www.sencha.com/examples/#reorderingtreegrid)orks fine for me on that example. I drag a node and go to the bottom of the grid. Than the grid starts scrolling.

Ah, I have to hold the cursor about one second at the end of the visible tree. I have expected, that I only move the cursor in an area around bottom or top of the tree and it will scroll without delay. Can I configure that? :D

Andre

sven
8 Nov 2011, 4:26 AM
You need to set a custom scrollSupport to the droptarget. As its private, you have to use JSNI to set it.