Sorting via direct method

3 posts, 1 answers
  1. Marc
    Marc avatar
    167 posts
    Member since:
    Sep 2016

    Posted 29 Dec 2016 Link to this post

    Is there a way to sort the spreadsheet directly from a function? Something like spreadsheet.activeSheet().sortBy(columnId/columnName/something else)

    Thanks

    Marc

  2. Marc
    Marc avatar
    167 posts
    Member since:
    Sep 2016

    Posted 29 Dec 2016 in reply to Marc Link to this post

    I have 2 spreadsheets, and when the user sorts one, i need to replicate this sort in another spreadsheet - hence why I'm asking.
  3. Answer
    Stefan
    Admin
    Stefan avatar
    1288 posts

    Posted 02 Jan Link to this post

    Hello Marc,

    The desired result can be achieved using the sort method of the Kendo UI Spreadsheet Range. Please have in mind that this will sort a specific range, not the entire sheet:

    http://docs.telerik.com/kendo-ui/api/javascript/spreadsheet/range#methods-sort

    Let me know if you need additional information on this matter.

    Regards,
    Stefan
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top