This is a migrated thread and some comments may be shown as answers.

Sorting via direct method

2 Answers 66 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 29 Dec 2016, 11:12 AM

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

Thanks

Marc

2 Answers, 1 is accepted

Sort by
0
Marc
Top achievements
Rank 1
answered on 29 Dec 2016, 11:14 AM
I have 2 spreadsheets, and when the user sorts one, i need to replicate this sort in another spreadsheet - hence why I'm asking.
0
Accepted
Stefan
Telerik team
answered on 02 Jan 2017, 06:52 AM
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 (charts) and form elements.
Tags
Spreadsheet
Asked by
Marc
Top achievements
Rank 1
Answers by
Marc
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or