The code is working fine except where the cells are empty, the empty cells are ignored.
I know there are

* solution 1 .Condition "if(h===undefined)continue;" in "xlsx.core.min.js" comment it out.
* Solution 2 . By passing Condition extra param while running this XLSX.utils.sheet\_to\_json(wb.Sheets[name] , {blankCell : false}). add a condition on line no. 19150 "if(defval === undefined && blankCell) continue;" in file xlsx.js etc..

But I don't have "xlsx.core.min.js" file in my project, and I can't fine a line no. 19150 to add a codition for solution 2, and also I am not creating JSON object.

my code:

```
onChange = (event) => {
        let newRows = this.state.rows;
        let files = event.target.files, f = files[0];
        var reader = new FileReader();
        reader.onload = (event) => {
            let newRowCt = this.state.rowCt;
            let newColCt = this.state.colCt;
            var data = new Uint8Array(event.target.result);
            var workbook = XLSX.read(data, { type: 'array' });
            const sn = workbook.SheetNames[0];
            const sheet = workbook.Sheets[sn];
            console.log(sheet["!ref"]);
            let row = 1;
            let col = 0;
            Object.keys(workbook.Sheets[sn]).map((cell) => {
                if (sheet[cell].w !== undefined) {
                    if (row !== parseInt(cell.slice(1), 10)) {
                        row++;
                        col = 0;
                        if (row >= newRowCt) {
                            newRows.push([]);
                            for (let k = 0; k < newColCt; k++) {
                                newRows[row].push("");
                            }
                            newRowCt++;
                            console.log(newColCt);
                        }
                    }

```