dxhy-excelpreview
v1.0.2
Published
An excel import and export library adapted to dxhy-excelpreview
Downloads
2
Readme
English| 简体中文
Introduction
Luckyexcel is an excel import and export library adapted to Luckysheet. It only supports .xlsx format files (not .xls).
Demo
Features
Support excel file import to Luckysheet adaptation list
- Cell style
- Cell border
- Cell format, such as number format, date, percentage, etc.
- Formula
Plan
The goal is to support all features supported by Luckysheet
- Conditional Formatting
- Pivot table
- Chart
- Sort
- Filter
- Annotation
- Excel export
Usage
ES and Node.js
npm install dxhy-excelpreview
ES import
import LuckyExcel from './luckyexcel'
// After getting the xlsx file
LuckyExcel.transformExcelToLucky(file, function(exportJson, luckysheetfile){
//Get the worksheet data after conversion
});
Development
npm run dev
Package
npm run build
A third-party plug-in is used in the project: JSZip, thanks!