[英]How to sort excel spreadsheet (KENDO UI)
當我下載Excel文件時,我的電子表格未排序。
也許你知道嗎?
請幫助 (
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}' },
您需要使用saveAsExcel API方法來將UI中應用的排序和篩選應用於使用excel文檔創建的zip。 來自作者(KendoUI)的一個很好的教程可以在以下位置找到:
http://docs.telerik.com/kendo-ui/controls/data-management/grid/excel-export
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.