TreeList Drag/Sort?

4 posts, 1 answers
  1. Louise
    Louise avatar
    6 posts
    Member since:
    Nov 2014

    Posted 08 Nov Link to this post

    When dragging and drop, the row is added as a child. Is there an option to drop and it will sort? The Gannt Control already has that kind of function.
  2. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 09 Nov Link to this post

    Hello Louise,

    You could apply initial sorting of the TreeList. Then when the user drops the item DataSource will re-apply the sort descriptor.

    A quick example - http://dojo.telerik.com/@rusev/aNUNA

    Regards,
    Nikolay Rusev
    Telerik by Progress
     
    Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.
     
  3. Kendo UI is VS 2017 Ready
  4. Louise
    Louise avatar
    6 posts
    Member since:
    Nov 2014

    Posted 18 Nov in reply to Nikolay Rusev Link to this post

    Hello,

    The example given still puts the dragged item inside the destination instead of beside it

  5. Answer
    Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 22 Nov Link to this post

    Hello Louise,

    Seems that I misunderstood your initial question. Please accept my apologies for this.

    Unfortunately the built-in TreeList drag and drop doesn't support re-ordering of the items.

    Regards,
    Nikolay Rusev
    Telerik by Progress
    Kendo UI is ready for Visual Studio 2017 RC! Learn more.
Back to Top
Kendo UI is VS 2017 Ready