dragdrop from one listview to another and let the receiving scroll
hi patrick, - - the observed behavior can be considered an issue and i have logged it on our feedback portal, here: - fix. radlistview - dragging an item from one list view to another can result in incorrect scrolling of the source list view when it is not necessary. i have also updated your telerik points. we will do our best to include the fix of the issue in the r1 2019 release. a possible workaround is to use the custom drag-drop service below:  - - public partial class radform1 : telerik.wincontrols.ui.radform - { -     public radform1() -     { -         initializecomponent(); -         this.radlistview1.allowdragdrop = true; -         this.radlistview2.allowdragdrop = true; -   -         this.radlistview1.listviewelement.dragdropservice = new customlistviewdragdropservice(this.radlistview1.listviewelement); -         this.radlistview2.listviewelement.dragdropservice = new customlistviewdragdropservice(this.radlistview2.listviewelement); -     } - } -   - public class customlistviewdragdropservice : listviewdragdropservice - { -     public customlistviewdragdropservice(radlistviewelement owner) -         : base(owner) -     { } -   -     protected override void handlemousemove(point mousepos) -     { -         int? scroll = null; -         simplelistviewvisualitem item = this.droptarget as simplelistviewvisualitem; -         if (item != null && item.data.owner != this.owner) -         { -             scroll = this.owner.viewelement.vscrollbar.value; -             point clientpos = item.data.owner.viewelement.pointfromscreen(mousepos); -   -             if ((clientpos.y -                 (clientpos.x -             { -                 item.data.owner.viewelement.scroller.scrollbar.performsmalldecrement(1); -             } -             else if ((clientpos.y > item.data.owner.size.height && item.data.owner.viewelement.orientation == orientation.vertical) || -                 (clientpos.x > item.data.owner.size.width && item.data.owner.viewelement.orientation == orientation.horizontal)) -             { -                 item.data.owner.viewelement.scroller.scrollbar.performsmallincrement(1); -             } -         } -   -         base.handlemousemove(mousepos); -   -         if (scroll.hasvalue) -         { -             this.owner.viewelement.vscrollbar.value = (int)scroll; -         } -     } - } - - - i hope this helps. let me know if you need further assistance. - - regards, - hristo - progress telerik - get quickly onboarded and successful with your telerik and/or kendo ui products with the virtual classroom free technical training, available to all active customers. learn more.
It's hard to do that because each item is not individual, in your example, Gallardo is by itself a subitem of Bull item. If you need to do that, the best attempt i can think about, is to create 2 listviews placed together with BorderStyle=None so they appear as the same and then handle the Drag and Drop event of each one so you can "exchange" items between both lists.



Hope this helps you to solve your need. [@najoua.abbaci](/u/najoua.abbaci)

mabye the flow can be adopted to following:

assign:

leftside: drresult (datatype: datarow)

right side:

dt\_datepv.asenumerable.orderby(function ( r ) datetime.parseexact(r(0).tostring.trim, “dd.mm.yyyy”, system.globalization.cultureinfo.currentuiculture.datetimeformat)).last()

so… Here is a sample of traversing a simple xml structure

 
```
    Dim myxml = <root>
                    <level id="1">
                        <prop n="PROPERTY" v="VALUE"/>
                    </level>
                    <level id="2">
                        <prop n="PROPERTY" v="VALUE"/>
                    </level>
                </root>

    For Each level In myxml.Elements
        Debug.WriteLine("id=" & level.@id.ToString)
        For Each prop In level.Elements
            Debug.WriteLine("n=" & prop.@n.ToString & "  v=" & prop.@v.ToString)
        Next
    Next

``` vertical and horizontal Put the grid inside a panel (rather than scrolling the grid itself) and the following in the head section of the page. This is set for using a MasterPage, but you can remove the "ctl00\_MainContentPlaceHolder\_" prefix for a regular page.  

  

XMLCopy Code

```
<script type="text/javascript" language="javascript">
        window.onload = function () {
                var strCook = document.cookie;

                if (strCook.indexOf("!~") != 0) {
                        var intS = strCook.indexOf("!~");
                        var intE = strCook.indexOf("~!");
                        var strPos = strCook.substring(intS + 2, intE);
                        document.getElementById("ctl00\_MainContentPlaceHolder\_pnlFindings").scrollTop = strPos;
                }

        }
</script>
<script type="text/javascript" language="javascript">
        function SetDivPosition() {
                var intY = document.getElementById("ctl00\_MainContentPlaceHolder\_pnlFindings").scrollTop;
                document.cookie = "yPos=!~" + intY + "~!";
        }
</script>
```
  

  

In the Panel, you'll need:   

 onscroll="SetDivPosition()"  

  

That should do it for you. Works for me, anyway. [@sunlightworking](/u/sunlightworking) this is only a start but you could have fun using subd to model it, break the shape into 2 repeating ‘arms’ that then join together.

[[viewcapture20210611\_093810]](https://aws1.discourse-cdn.com/mcneel/uploads/default/original/4x/b/9/e/b9ec0eea392ef36150b75631db22d3817573de5b.jpeg "viewcapture20210611_093810") <https://docs.glideapps.com/all/reference/components/lists/inline-list#only-show-a-few-items> hi [@jason.danforth](/u/jason.danforth),

all objects in the document are stored in the objecttable (rhino.docobjects.tables.objecttable). if you just want to select them, you can loop through them and use objecttable.select() method

import rhino

for robj in rhino.rhinodoc.activedoc.objects:

if robj.isnormal:

… :roll\_eyes:

[[image]](https://aws1.discourse-cdn.com/business6/uploads/dynamobim/original/3x/6/3/6393f7d9277c8a0ff2b48f07b1e2352f69f463b0.png "image")

t1 = [9, 9, 99, 9, 6, 7, 8];

t9 = dscore.list.chop(t1, 3);

a = t9;

t2 = get.valueatindex(a, 0);

t4 = [3, 2];

t10 = dscore.list.ofrepeateditem(t4, 3);

a1 = t10;

t3 = get.valueatindex(a1, 0);

t11 = t2<1l> + t3<1l>;

a2 = t9;

t5 = get.valueatindex(a2, 1);

a3 = t10;

t6 = get.valuea… hi david, thank you for question. these are called alerts, and show payments that have come into and out of your account. the cards you see should be dragged and dropped on the slideby grid in the row for that particular customer or supplier (it doesn't matter which date, as slideby will automatically move this to the correct incoming/outgoing payment date). please visit this page to learn more about alerts and how these can be matched to any invoices and estimates you have created.