1.0.7 • Published 2 years ago

jsxtabletoexcel v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

For downloading Xls File :

use downloadExcel function -

sheetName - String

fileName - String


Example:

import {downLoadExcel} from "jsxtabletoexcel"

const tableRef = useRef(null)

<Button onClick={() => downLoadExcel(tableRef.current,sheetName,fileName)}> Click ME


For downloading csv file :

use downloadCsv function -

targetRef - ref of the table to be exported

fileName - String


Example: import {downloadCsv} from "jsxtabletoexcel"

const tableRef = useRef(null)

<Button onClick={() => downloadCsv(tableRef.current,fileName)}> Click ME

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago