Skip to content

Conversation

ofirelarat
Copy link

Hi,
I added the ability to choose specific worksheet.
That can be handy when you have more than one worksheet, the default is steel the first worksheet.

    const fileHandler = (event) => {
        let fileObj = event.target.files[0];
    
        //just pass the fileObj as parameter
        ExcelRenderer(fileObj, (err, resp) => {
            if(err){
                console.log(err);            
            }
            else{
                debugger;
                console.log(resp)
            }
        }, 4);               
    }
    const fileHandler = (event) => {
        let fileObj = event.target.files[0];
    
        //just pass the fileObj as parameter
        ExcelRenderer(fileObj, (err, resp) => {
            if(err){
                console.log(err);            
            }
            else{
                debugger;
                console.log(resp)
            }
        }, "worksheet-name");               
    }

@ofirelarat
Copy link
Author

#38

@ofirelarat
Copy link
Author

#21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant