anjanikumarjangid
Results
2
comments of
anjanikumarjangid
> Sadly, I had to use `data` instead of `dataSet` to make it work. > Also, the cell value should be referenced directly instead of using `{value: new Date(), style:...
import React, { Component } from 'react'; import ReactExport from 'react-data-export'; const ExcelFile = ReactExport.ExcelFile; var ExcelSheet = ReactExport.ExcelFile.ExcelSheet; function dateValidator(dataValue){ if(new Date(dataValue) instanceof Date && !isNaN(new Date(dataValue).valueOf())){ // Duration...