Set Index

2 posts, 0 answers
    CHRISTOPHER avatar
    12 posts
    Member since:
    Jul 2017

    Posted 11 Nov 2019 Link to this post

    I would like to persist the order of cards moved around by the user for the next time they open the page or window.  Is it possible to do this by somehow setting the index of these DIV tag cards inside their sortable container?
  2. Georgi
    Georgi avatar
    684 posts

    Posted 13 Nov 2019 Link to this post

    Hi Christopher,

    The sortable widget does not provide api for arranging the elements via js. However, within the document ready event handler you should be able to arrange the elements in the saved order using the insertBefore method.

    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.
Back to Top