I Never Want To Create Tables Any Other Way

  Рет қаралды 34,537

Elliott Chong

Elliott Chong

Күн бұрын

Today I will show you how to build the perfect table in React with Typescript and tanstack/tables
Beautifully styled with shadcn and tailwindcss, also featuring a dark mode toggle :)
-- Resouces --
Project Demo: shadcn-table.vercel.app/people
Project Code: github.com/Elliott-Chong/shad...
My GitHub: github.com/Elliott-Chong
Shadcn UI: ui.shadcn.com/
-- Connect With Me 🔥🚀 --
GitHub: github.com/elliott-chong
Instagram: / elliottchong_
Website: elliottchong.tech
Email: elliottchong16@gmail.com
-- Chapters --
0:00 Intro & Demo
3:08 Generate Mock Data
4:36 Setup Nextjs Project
6:10 Install shadcn
9:10 Import Mock Data
11:20 Setup Table Component
14:00 File Structure
15:50 Column Definitions
19:20 Create Data Table
32:25 Custom Cell Formatting
36:30 Actions Menu Column
42:20 Pagination
45:36 Sorting Functionality
50:31 Filter by First Name
55:00 Column Visibility
1:00:00 Column Selection
1:07:45 Styling
1:09:08 Dark Mode Toggle
1:13:06 Add Custom Colour Theme
1:14:00 Export To Excel
1:19:55 Outro :)

Пікірлер: 39
@ebratz
@ebratz 10 ай бұрын
thanks a ton for your content! You deserve to have a 1mi subs! Please keep the good work!
@TheGrandChieftain
@TheGrandChieftain 11 ай бұрын
Keep up the amazing work bro!
@prstm8981
@prstm8981 11 ай бұрын
Thanks for showing the best way to create table... Amazingly
@Noot-ev9bs
@Noot-ev9bs 10 ай бұрын
Very nice! This helped me a lot
@mateusjsouza
@mateusjsouza 9 ай бұрын
Incredible! You're awesome! Thanks, bro
@kyawsanmaung8325
@kyawsanmaung8325 4 ай бұрын
It helps me a lot brother, Thanks 🙌🏼
@taherr1341
@taherr1341 6 ай бұрын
You are awesome. Nice work. Thank you.
@higormonteiro8314
@higormonteiro8314 8 ай бұрын
I have a bit of perfectionism when it comes to responsive layouts, so I still need a bit of practice to achieve the results I want. However, the video gave me a good foundation to create beautiful tables. I liked of the video. I hope to see more videos like this, practical and to the point.
@user-kf7sc3vf3m
@user-kf7sc3vf3m 9 ай бұрын
Thanks for the content , can you please do a tutorial on implementing server side pagination, filter and sorting
@meka4996
@meka4996 10 ай бұрын
You are the Superman! Thanks
@tomydevogelaere
@tomydevogelaere 3 ай бұрын
Amazing video, Thx!
@vanla7676
@vanla7676 6 ай бұрын
thank you very much for your tutorial
@maxmurakami-moses4728
@maxmurakami-moses4728 3 ай бұрын
Could you create a tutorial on making the table dynamic? Ie, allowing the user to input values?
@EnriqueMunoz-no1fq
@EnriqueMunoz-no1fq 10 ай бұрын
You should make the tutorial for manual srver side pagination please
@prashlovessamosa
@prashlovessamosa Жыл бұрын
Thanks for sharing.
@elliottchong
@elliottchong Жыл бұрын
Thanks for watching!
@ommiputera8742
@ommiputera8742 7 ай бұрын
thanks for this vidioooo!
@OnlyJavascript
@OnlyJavascript 10 ай бұрын
thanks for sharing. is it possible to export only the filtered values?
@MrAtomUniverse
@MrAtomUniverse 9 ай бұрын
How do i refresh the table if i have an advance option that allows me to e.g. choose status of a row data. I'm using server components to call the update
@treyrader
@treyrader 10 ай бұрын
I dig the really straight forward design. The functionality is confusing tho. Not sure why there's a copy n paste action, for example, when that's built into the computer already and only requires one event to accomplish. Maybe show an icon instead? I still love ya tho
@himanshu6897
@himanshu6897 Жыл бұрын
Thankyou
@mfion1
@mfion1 2 ай бұрын
Is it possible to select multiple rows on different pages, without the same row selected on the next page?
@fikriilhamarifin96
@fikriilhamarifin96 3 ай бұрын
what the select button do on that table?
@user-bp3mw4nv2x
@user-bp3mw4nv2x 11 ай бұрын
Nice
@shivamy3091
@shivamy3091 10 ай бұрын
bro can u tell me what all things i should learn
@baptiste6436
@baptiste6436 10 ай бұрын
what if we paginate the data with the backend, the sorting and filtering functions of shadcn wont work
@steinkuste3492
@steinkuste3492 7 ай бұрын
yeah, kinda. But you could handle filtering by api
@varadareddy8645
@varadareddy8645 19 күн бұрын
After adding checkbox page is going unresponsive
@KyXnline
@KyXnline 9 ай бұрын
I know it's a longshot, but does anyone have a fix for the checkbox moving up when selected, and back down when de-selected?
@KyXnline
@KyXnline 9 ай бұрын
It's a browser specific issue. Only happens to me on firefox. But can't find any working code that fixes it in Firefox
@omarkraidie
@omarkraidie 11 ай бұрын
how is your terminal suggesting commands? :O
@lkmthelegend4872
@lkmthelegend4872 9 ай бұрын
thanks for the content but i have one question, can we add buttons like delete or edit?
@albertleog.maldonado5786
@albertleog.maldonado5786 8 ай бұрын
Some answer you got in other side? I have the same question, please
@ninoverstraeten442
@ninoverstraeten442 9 ай бұрын
Does someone know from where the white border on the table comes from? Normally it's gray.
@ninoverstraeten442
@ninoverstraeten442 9 ай бұрын
I got it: forgot @layer base { * { @apply border-border; } body { @apply bg-background text-foreground; font-feature-settings: "rlig" 1, "calt" 1; } }
@igihara2662
@igihara2662 6 ай бұрын
I tried with 'id' and didn't work :(
@aballahsameh3597
@aballahsameh3597 8 ай бұрын
u didn't explain how sort birth_date?
@yasserhy
@yasserhy 9 ай бұрын
Thanks for this .. but I think it would have been really cool not to load all the data at once and only load the page that we need
@meka4996
@meka4996 10 ай бұрын
Somehow I have to use !bg-primary to get the button color right...
Datatable in React JS | React Data Table with react-data-table-component
16:14
I Never Want to Create React Tables Any Other Way
5:40
Josh tried coding
Рет қаралды 250 М.
ОБЯЗАТЕЛЬНО СОВЕРШАЙТЕ ДОБРО!❤❤❤
00:45
Викторина от МАМЫ 🆘 | WICSUR #shorts
00:58
Бискас
Рет қаралды 5 МЛН
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 110 МЛН
Tanstack Table React - Bulletproof Your Table With Typescript
18:06
Monsterlessons Academy
Рет қаралды 7 М.
I Never Want To Create Forms Any Other Way
57:53
Elliott Chong
Рет қаралды 30 М.
Fetching Data Doesn't Get Better Than This
6:58
Josh tried coding
Рет қаралды 103 М.
I Never Want To Build Authentication Any Other Way
2:03:20
Elliott Chong
Рет қаралды 17 М.
Swaggo Documentation
21:45
CodeWithMike
Рет қаралды 41
Best React Table Component To Use??
18:40
LiveCode247
Рет қаралды 9 М.
Data Tables - Learn Material UI Components in React
10:55
Code Commerce
Рет қаралды 7 М.
How to create a responsive HTML table
27:19
Kevin Powell
Рет қаралды 212 М.
NextUI Table Component in NextJs
28:42
Hamed Bahram
Рет қаралды 15 М.