React table with pagination

  Рет қаралды 39,796

Code with Voran

Code with Voran

3 жыл бұрын

#React #Axios #bootstrap #React-table #Pagination #lodash #Api
Get data from an API using Axios and showing it in a Bootstrap table with pagination

Пікірлер: 98
@CodewithVoran
@CodewithVoran 2 жыл бұрын
If you want to support my channel, you can buy me a coffee: 👉👉👉 buymeacoffee.com/Voran Thank you
@adamantine001
@adamantine001 Жыл бұрын
Thank you for this, I'm currently working on project where we use react-bootstrap (which doesn't have ready to use paginated table) so we had to implement the pagination manually.
@Reverse-sg5rn
@Reverse-sg5rn Жыл бұрын
thanks this helped a lot. don't know what is more epic. The background music or the tutorial.
@nijathasanov3155
@nijathasanov3155 2 жыл бұрын
Thank you. It is what I was looking for!
@CodewithVoran
@CodewithVoran 2 жыл бұрын
Welcome nijat. Subscribe to my channel for more tutorials
@0x0abb
@0x0abb 2 жыл бұрын
very good lesson, thank you!
@CodewithVoran
@CodewithVoran 2 жыл бұрын
welcome buddy. subscribe for more useful tutorials
@jhonromero6527
@jhonromero6527 2 жыл бұрын
Thanks a lot. It works perfectly!
@CodewithVoran
@CodewithVoran 2 жыл бұрын
welcome jhon
@danilofandino9117
@danilofandino9117 2 жыл бұрын
Thanks, very easy to understand!
@CodewithVoran
@CodewithVoran 2 жыл бұрын
Thanks danilo
@oguz9340
@oguz9340 Жыл бұрын
The video was very helpful. Thanks.
@CodewithVoran
@CodewithVoran Жыл бұрын
Welcome Oguz
@QasimAli-ge7ow
@QasimAli-ge7ow Жыл бұрын
Good bro
@lucasnobaixo
@lucasnobaixo 2 жыл бұрын
This helped me a lot! Thanks and congrats
@CodewithVoran
@CodewithVoran 2 жыл бұрын
thanks lucas. subscribe to my channel for more useful tutorials
@lifewithysa2461
@lifewithysa2461 3 жыл бұрын
This what ive been looking for many thanks it helps a lot😃😃
@CodewithVoran
@CodewithVoran 3 жыл бұрын
welcome. subscribe to my channel for videos. thanks
@osmanhamashool6396
@osmanhamashool6396 Жыл бұрын
yeah cause every where there is the react table lib
@miguelalvarez3471
@miguelalvarez3471 2 жыл бұрын
excellent video..
@CodewithVoran
@CodewithVoran 2 жыл бұрын
thanks Miguel. subscribe for more
@nguyenhanhtuan1206
@nguyenhanhtuan1206 Жыл бұрын
Thank you so much for the tutorial !!!
@CodewithVoran
@CodewithVoran Жыл бұрын
Welcome brother
@8294685725
@8294685725 2 жыл бұрын
Thank you Sir for a very good tutorial
@CodewithVoran
@CodewithVoran 2 жыл бұрын
Welcome tazimul
@remixowlz
@remixowlz 2 жыл бұрын
amazing job!
@CodewithVoran
@CodewithVoran 2 жыл бұрын
Thanks a lot
@melkammekonnen5121
@melkammekonnen5121 3 жыл бұрын
Thank you so much! this worked very good for me!
@CodewithVoran
@CodewithVoran 3 жыл бұрын
Thanks . Subscribe to my channel, react tutorials are on the way
@zanderalijah615
@zanderalijah615 3 жыл бұрын
Pro trick : watch series at Flixzone. I've been using it for watching a lot of movies recently.
@allanuriah3436
@allanuriah3436 3 жыл бұрын
@Zander Alijah definitely, have been watching on Flixzone for since december myself :)
@naselp.nazeer5751
@naselp.nazeer5751 3 жыл бұрын
thanks brother it help me a lot one day i spend on searching
@CodewithVoran
@CodewithVoran 3 жыл бұрын
thanks brother. subscribe and give your support
@Mohammad-qs3ld
@Mohammad-qs3ld 7 ай бұрын
Nice bro
@CodewithVoran
@CodewithVoran 6 ай бұрын
Thanks
@nikhilhaspe2734
@nikhilhaspe2734 Жыл бұрын
thanks men!
@CodewithVoran
@CodewithVoran Жыл бұрын
Welcome nikhil
@RikzB
@RikzB 2 жыл бұрын
pagination starts at 12:00
@anikettari1057
@anikettari1057 3 жыл бұрын
Tahnkyou
@CodewithVoran
@CodewithVoran 3 жыл бұрын
welcome brother
@JyotiKumari-ki4tw
@JyotiKumari-ki4tw 2 жыл бұрын
Thanks a lot
@CodewithVoran
@CodewithVoran 2 жыл бұрын
Welcome jyoti. Subscribe to my channel for more useful tutorials
@udayjprg2988
@udayjprg2988 3 жыл бұрын
Can you please tell us important topics should know for React JS while learning it. I like your videos they are very understandable
@CodewithVoran
@CodewithVoran 3 жыл бұрын
check this article. it will be useful for beginners blog.glitch.com/post/react-starter-kit
@udayjprg2988
@udayjprg2988 3 жыл бұрын
@@CodewithVoran Thank you brother will follow it. Can you please are for JavaScript like important topics to cover and wanted to do small projects in it.
@abhishekverma2568
@abhishekverma2568 2 жыл бұрын
15:19
@calvinlee4346
@calvinlee4346 2 жыл бұрын
Great video! Only problem I am having is nothing is showing on my application.
@CodewithVoran
@CodewithVoran 2 жыл бұрын
can you show me your code please?
@prabhatkantipandit8214
@prabhatkantipandit8214 3 жыл бұрын
git link or source code?? please share
@alicantopaloglu7060
@alicantopaloglu7060 Жыл бұрын
I have a question. I have so many page but if a use this formula i don't see the first and last pages how can i pass next line in ul item
@rajdipghosal6845
@rajdipghosal6845 2 жыл бұрын
Can you give the source code please..it will be helpfull
@zainrehmanansari865
@zainrehmanansari865 2 жыл бұрын
I have 2000 Records, 10 per page it will display 200 list items below 1->200 what should I do now? I'm confused
@abhishekverma2568
@abhishekverma2568 2 жыл бұрын
1 bug - if no nav page is there for last page. { pages.map(page => Pagination(page)}> {page} ) }
@abhishekverma2568
@abhishekverma2568 2 жыл бұрын
Solution - const pageCount = Products? Math.ceil(Products.length/pagesize)+1 : 0;
@saroj_shrestha
@saroj_shrestha 3 жыл бұрын
please add sorting as well on it
@CodewithVoran
@CodewithVoran 3 жыл бұрын
Yeah. I will do it in upcoming videos
@mathushanthsrikandarajah1324
@mathushanthsrikandarajah1324 2 жыл бұрын
How to set Sidebar and Table in responsive way?
@sadiairam9208
@sadiairam9208 Жыл бұрын
if (pageCount ===1) return null; causes empty page display when there is only 1 page.how to handle this.
@malharijadhav8816
@malharijadhav8816 Жыл бұрын
Sir if i have 10,000 records in table then how i can show pagination
@biniamabebe1394
@biniamabebe1394 3 жыл бұрын
how can I display an image from a local json object?
@CodewithVoran
@CodewithVoran 3 жыл бұрын
Hi brother. Mostly the json object have the image url. Just pass that url in image tag as src
@ashutoshshukla1907
@ashutoshshukla1907 3 жыл бұрын
How to get th(table haader) from the api dynamically...
@ceop1239
@ceop1239 3 жыл бұрын
You can get the first object and extract keys from it.
@adnanshaikh3624
@adnanshaikh3624 2 жыл бұрын
how to do this in redux??
@pbharathi8549
@pbharathi8549 3 жыл бұрын
How to download table data
@kouawoualexrussel3812
@kouawoualexrussel3812 Жыл бұрын
am unable to use lodash _ it says "_" not define
@asgharali6907
@asgharali6907 2 жыл бұрын
bro help me in pagination i am facing one error
@sreejith_m_nair627
@sreejith_m_nair627 2 жыл бұрын
can you share the github code for this
@divyasingh_4015
@divyasingh_4015 2 жыл бұрын
I get the error as missing key prop for element on line pages.map((page)=>..) I am unable to resolve it, I googled stuffs and it says, we must have a key element..can you please explain this?
@CodewithVoran
@CodewithVoran 2 жыл бұрын
You should give a property called key to the parent element. For example:
@sepamer
@sepamer 2 жыл бұрын
I receive the error: TypeError Cannot read properties of undefined (reading 'map'), in the line of post.map((post. index)=> but when I use only the console output it works fine. Is this a problem because I am calling data when I don´t have it?
@CodewithVoran
@CodewithVoran 2 жыл бұрын
The parameters should be post, index. Not post.index
@sepamer
@sepamer 2 жыл бұрын
Thank you!!
@sepamer
@sepamer 2 жыл бұрын
Sorry, in my message I wrote post.map((post. index)=> but in the program I have post.map((post, index)=> The problem persists.
@CodewithVoran
@CodewithVoran 2 жыл бұрын
@@sepamerpost.map((post, index)=> please rename post to something else (the first parameter). eg: post.map((p, index)=>
@CodewithVoran
@CodewithVoran 2 жыл бұрын
To Solve × TypeError: Cannot read properties of undefined (reading 'map') Error There is a prop “post” in your component. That variable has higher priority than the map you have outside, and your .map is using it. I would recommend to rename one of them, to avoid variables with the same name.
@user-mv8os6ls5b
@user-mv8os6ls5b Жыл бұрын
I recieve the error : ERROR in ./node_modules/lodas/index.js 3:12-36 Module not found: Error: Can't resolve 'child_process'. How cal i solve this?
@CodewithVoran
@CodewithVoran Жыл бұрын
I think lodash didn't installed properly. You might made typo
@vipinpatel9572
@vipinpatel9572 2 жыл бұрын
page not found error show kar raha hai
@divyakerekar8971
@divyakerekar8971 Жыл бұрын
Code in github
@RajuRaju-pj3ni
@RajuRaju-pj3ni 3 жыл бұрын
Bro you have class component
@CodewithVoran
@CodewithVoran 3 жыл бұрын
i don't use class component
@user-888azim-97
@user-888azim-97 2 жыл бұрын
oh no……
@CodewithVoran
@CodewithVoran 2 жыл бұрын
Not working?
@RajuRaju-pj3ni
@RajuRaju-pj3ni 3 жыл бұрын
Brother I have all page, not able to replicate pagination can you help me
@CodewithVoran
@CodewithVoran 3 жыл бұрын
can you show me the code?
@nguyentoanhnt
@nguyentoanhnt 2 жыл бұрын
good video, but music :(
@CodewithVoran
@CodewithVoran 2 жыл бұрын
sorry brother. I will consider this in my future videos
@richardokonicha
@richardokonicha 3 жыл бұрын
not React-table
@huy9251
@huy9251 2 жыл бұрын
where is the source code ?
@jaysingh5402
@jaysingh5402 2 жыл бұрын
bro send code link
@bobbyG883
@bobbyG883 2 жыл бұрын
Can you help me with my pagination code 🤣😂🤣😂
@CodewithVoran
@CodewithVoran 2 жыл бұрын
Do you get any errors?
@bobbyG883
@bobbyG883 2 жыл бұрын
@@CodewithVoran I have ty to implement your pagination code into my code. I need to pass the pagination into my onClick function. is there a way I can show you my code?
@CodewithVoran
@CodewithVoran 2 жыл бұрын
@@bobbyG883 put the code in GitHub and send me the link
@rootMedia21
@rootMedia21 Жыл бұрын
Sir thanks for your lifesaver video! I have one question for you, how to use the Prev and Next Buttons instead of listing all pages in numbers. Thanks! ⏮ -1- ⏭
Как сделать пагинацию на React.js ?  [React Pagination]
20:01
Давай Попробуем: JavaScript
Рет қаралды 34 М.
You won't BELIEVE what I just did with TanStack's React Tables!
35:58
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 9 МЛН
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 35 МЛН
Stop Doing this as a React Developer
12:27
CoderOne
Рет қаралды 161 М.
Simple Frontend Pagination | React
19:13
Traversy Media
Рет қаралды 477 М.
Learn React In 30 Minutes
27:16
Web Dev Simplified
Рет қаралды 1,3 МЛН
ReactJS Pagination Tutorial using React Paginate
21:19
Index-Zero
Рет қаралды 51 М.
ReactJS Pagination Tutorial using React Hooks
22:18
PedroTech
Рет қаралды 106 М.
My New Favorite Pagination Method
5:45
Josh tried coding
Рет қаралды 77 М.
Context API in react | get the concept
29:00
Hitesh Choudhary
Рет қаралды 49 М.
The React Ecosystem in 2023
14:01
Codevolution
Рет қаралды 163 М.
React Pagination in 7 minutes [ EASY ] | Pagination Tutorial
7:40
Code Bless You
Рет қаралды 69 М.
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 9 МЛН