REACT - Read Excel using Sheet JS

  Рет қаралды 58,038

Sam Lama

Sam Lama

Күн бұрын

Пікірлер
@niyongaboeric
@niyongaboeric 2 жыл бұрын
Only your approach worked for me. Thanks for sharing this video.
@Samlama8848
@Samlama8848 2 жыл бұрын
No problem
@niteshlimbu5745
@niteshlimbu5745 2 жыл бұрын
Lifesaver! Thank You. It worked without any hiccups.
@ilyasrodi1551
@ilyasrodi1551 3 жыл бұрын
Thank You Sam !!!! FANTASTIC TUTO !!!!!
@anwarahmedsiddiqui466
@anwarahmedsiddiqui466 3 жыл бұрын
data is not for the second column showing error in console as "Each child in a list should have a unique "key" prop '
@lighttigerxiv
@lighttigerxiv Жыл бұрын
Thank you. All the tutorials were not working. I think i was not importing the XLSX correctly
@ErnestoBalanzar
@ErnestoBalanzar 3 жыл бұрын
you have solved my project :) thank you!
@BHVampireLF
@BHVampireLF 4 жыл бұрын
It worked like charm
@bhanusharma2482
@bhanusharma2482 2 жыл бұрын
Thanks brother, Great work!!
@fernandofincatti5961
@fernandofincatti5961 4 жыл бұрын
It worked for me! Nice tutorial!
@anishachoudhury_
@anishachoudhury_ 2 жыл бұрын
may i know how do i link my pictures from excelsheet in react
@ShahbazKhan-zl2zt
@ShahbazKhan-zl2zt 3 жыл бұрын
can you please tell me how to send this data to API.
@andresdavid3754
@andresdavid3754 2 жыл бұрын
Thank you very much! Great video, it worked!
@RavikiranGS
@RavikiranGS 2 жыл бұрын
How to make header bold in excel using xlsx ?Thank you?
@jhoncar
@jhoncar 2 жыл бұрын
excelent!!! question, to do the reverse process and download it, how would it be done?
@blendaguedes
@blendaguedes 2 жыл бұрын
Thank you! It really helped me :)
@kogantieswar5240
@kogantieswar5240 3 жыл бұрын
@Sama Lama , Hi first of all thanks for your valuable work. What if i have two or more sheets in excel and i need to store all three sheets data. Thanks.
@kalyanperla9767
@kalyanperla9767 2 жыл бұрын
Thank you❤️❤️
@ChronologicalLogic
@ChronologicalLogic 3 жыл бұрын
hmm tried this, and the workSheet is created correctly (in debugger view), but the XLSX.utils.sheet_to_json() doesn't seem to be able to parse the workSheet for whatever reason - just returns an empty array :/ I can create my own parser, but tbh, I would want to avoid that
@veronicabarrientos2893
@veronicabarrientos2893 2 жыл бұрын
Thanks for the video, that was perfect to me!
@McTrachos
@McTrachos 2 жыл бұрын
Hi, sorry about the question but, i replicate your code and your excel file in my code. but if I try to use it I have this error "Error: Unsupported file undefined ", do you know why? is from this line "const wb = XLSX.read(bufferArray, {type:'buffer'});"
@Ops_pops
@Ops_pops 2 жыл бұрын
iam gettting an error as : Module not found: Error: Cannot find file: 'xlsx.mjs' does not match the corresponding name on disk: './node_modules/XLSX/xlsx'. anyone can help me with this.Thank you in advance.
@garikmelqonyan9130
@garikmelqonyan9130 3 жыл бұрын
Thank you man. It really got the job done!
@JayCutler22
@JayCutler22 3 жыл бұрын
Do you know how to convert this code to async/await ?
@trailslug893
@trailslug893 2 жыл бұрын
Is the xls sheet available that you used for this project?
@diEGo41657
@diEGo41657 3 жыл бұрын
Thank you brother, you helped me a lot :D
@anwarahmedsiddiqui466
@anwarahmedsiddiqui466 3 жыл бұрын
How to do the same using components and props
@MohamedNazeem98
@MohamedNazeem98 4 жыл бұрын
great video and explanation thanks alot dude
@niranjanbhamepatil
@niranjanbhamepatil 2 жыл бұрын
Hey I have one question here. If my excel file has some styling like font weight bold and background color so can I read that properties too and apply same on my table? Thanks for the video.
@ShahbazKhan-zl2zt
@ShahbazKhan-zl2zt 3 жыл бұрын
thanks for the video. really helpfull.
@umairmuhammadabbas3929
@umairmuhammadabbas3929 3 жыл бұрын
Thanks that's really helpful
@a1034a
@a1034a 2 жыл бұрын
great~
@erkany6753
@erkany6753 3 жыл бұрын
It is very useful, thank you!
@chientauc1223
@chientauc1223 3 жыл бұрын
tks bro
@bhojakrahul5880
@bhojakrahul5880 3 жыл бұрын
If we have url of xls.
@sauravsatpathy5407
@sauravsatpathy5407 2 жыл бұрын
Bro how can exclude the header in the JSON array if yes how?
@Samlama8848
@Samlama8848 2 жыл бұрын
use shift on an array
@rideonwheels7028
@rideonwheels7028 3 жыл бұрын
thank you
@errinwright
@errinwright 3 жыл бұрын
Can this be used to upload Excel file data to firebase collection database?? You're the 🐐 🐐 🐐
@sweat_gamer5540
@sweat_gamer5540 3 жыл бұрын
Nice video. However, package.json is not having the xlsx dependency.
@muzamilhussain2550
@muzamilhussain2550 4 жыл бұрын
your video is very helpful for me but I have got one error warning while running my project and I'll able to display only one record. This error warning will show in console.log "Warning: validateDOMNesting(...): Text nodes cannot appear as a child of ". So, please help me what I can do right now. Thanks
@Samlama8848
@Samlama8848 4 жыл бұрын
Hello, I have added GIT repo. Please have look in description. Thanks
@muzamilhussain2550
@muzamilhussain2550 4 жыл бұрын
@@Samlama8848 Ok Thanks
@hajramohammadshahid4893
@hajramohammadshahid4893 3 жыл бұрын
How can I read an excel sheet using its url ?? (Google Spreadsheets) Sir please let me know , it's urgent. Thank you
@robinalexander19950
@robinalexander19950 2 жыл бұрын
nice video bro!!! can you make a video on how to send this csv to mongodb with the help of node
@Samlama8848
@Samlama8848 2 жыл бұрын
Sure!! Thanks for suggestion
@digvijaysingh8376
@digvijaysingh8376 3 жыл бұрын
ITs working thanksss
@muzamilhussain2550
@muzamilhussain2550 4 жыл бұрын
Sorry to disturb you I have one more question. We are able to define the range of columns and rows in reactjs or not??? I mean A1: A6 columns data are shown in this column like so...
@Samlama8848
@Samlama8848 4 жыл бұрын
I think easy way to get data from A1:A6 is read the excel files and read response between A1:A6 which is 6 length array ignore rest array or you can check Sheetjs for documentation.
@rroossyyiidd
@rroossyyiidd 3 жыл бұрын
Thanks a lot :)
@swaniketchowdhury
@swaniketchowdhury 3 жыл бұрын
Great video, thank you. BTW how can I also get the headers?
@rムel
@rムel 2 жыл бұрын
@Swaniket, please did you later figure it out? help I'm look for the same solution
@bhanusharma2482
@bhanusharma2482 2 жыл бұрын
@@rムel did you find out?
@rムel
@rムel 2 жыл бұрын
@@bhanusharma2482 ahaha no, I later had to use papaParse, it automatically makes the first row the headers xD
@meghanaorugunta976
@meghanaorugunta976 3 жыл бұрын
Thanks for the video. What if I don't want to display the table headers till the excel file is loaded ? To further explain, could you please tell how to display the whole table only after the data is loaded ?
@Samlama8848
@Samlama8848 3 жыл бұрын
you can use if and else on table and check if data is available or not. thanks
@UmairAhmad27
@UmairAhmad27 2 жыл бұрын
You can use the ternary operator. items.length > 0 &&
@SushilKhekare
@SushilKhekare 3 жыл бұрын
want to read directly from folder without any propmt.
@okumuoriaro4994
@okumuoriaro4994 3 жыл бұрын
Did you find a way? Been searching for the exact same thing
@mamadoualphabarry4538
@mamadoualphabarry4538 3 жыл бұрын
nice
@vutiendung1100
@vutiendung1100 2 жыл бұрын
Thanks that's really helpful
How to UseContext on React
11:35
Sam Lama
Рет қаралды 386
Drag n' Drop Files in React - Parsing CSVs
16:12
Leigh Halliday
Рет қаралды 21 М.
Who is More Stupid? #tiktok #sigmagirl #funny
0:27
CRAZY GREAPA
Рет қаралды 10 МЛН
Война Семей - ВСЕ СЕРИИ, 1 сезон (серии 1-20)
7:40:31
Семейные Сериалы
Рет қаралды 1,6 МЛН
Excel Macros with JavaScript & Node JS - Read Excel File to JSON, Modify & Write Back to Excel
24:04
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 144 М.
The Biggest Mistake Intermediate React Developers Make
18:32
Cosden Solutions
Рет қаралды 27 М.
My Favorite Way to Fetch Data in React
16:28
Josh tried coding
Рет қаралды 72 М.
Search Filter in React JS - Filter Through Results
8:53
Code Commerce
Рет қаралды 166 М.
Loading Your React Data Like This is Awesome
13:27
Josh tried coding
Рет қаралды 115 М.
TOP 20 ROCK GUITAR SOLOS OF ALL TIME
18:00
Rick Beato
Рет қаралды 13 МЛН
REACT -  Read & Parse Excel Sheets with SheetJS
12:29
I See Sharp
Рет қаралды 25 М.
Подключаемся к API с помощью Google Sheets Apps Script
28:19
Алексей Куличевский
Рет қаралды 47 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 222 М.