[英]How to sort excel spreadsheet (KENDO UI)
when i download excel file, my spreadsheet has not sorting. 当我下载Excel文件时,我的电子表格未排序。
maybe you know about it ? 也许你知道吗?
Help please ( 请帮助 (
vm.gridOptionsUpdate = { excel: { allPages: true, fileName: 'rates-upload.xlsx' //sort: { field: "rate", dir: "desc" } // i need somthing like that }, excelExport: function (e) { ... } sortable: true, pageable: true, selectable: 'multiple cell', allowCopy: true, reorderable: true, columns: [ { field: 'rate', title: 'Current Rate (EUR/SMS)', format: '{0:n4}' },
You need to use the saveAsExcel API method to get the sorting and filtering applied in your UI to the zip created with the excel document. 您需要使用saveAsExcel API方法来将UI中应用的排序和筛选应用于使用excel文档创建的zip。 A good tutorial on this from the authors (KendoUI) can be found at:
来自作者(KendoUI)的一个很好的教程可以在以下位置找到:
http://docs.telerik.com/kendo-ui/controls/data-management/grid/excel-export http://docs.telerik.com/kendo-ui/controls/data-management/grid/excel-export
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.