Best React Table Component To Use??

Поділитися
Вставка
  • Опубліковано 10 лют 2025
  • In this video, I'll be talking about a component created by Sadman Sakib and myself, which gets ShadCNs table component to work with Server Side Pagination, Filtering and Sorting!
    Take a look: shadcn-table-v...
    Repo Link: github.com/sad...
    Sadman Shakib: / sadmann17
    ShadCN UI: ui.shadcn.com
    ---
    Website: kavin.me
    Blog: livecode247.com
    Github: github.com/kav...

КОМЕНТАРІ • 42

  • @TaekwondoGer
    @TaekwondoGer 10 місяців тому +4

    This is so good. I can not state how grateful I am for that.

  • @binamralamsal
    @binamralamsal 2 місяці тому +2

    I wasted days to make a flexible data table component myself which works server side. Thanks for the repo, I will improve my implementation using yours.

  • @JordanGigg-07
    @JordanGigg-07 6 місяців тому +1

    Thank you for this!!! It would be really cool for beginners to go into further details regarding integrating this onto another database table, new cols, new filtering, etc. But, you did amazing man!!!!!!

    • @livecode247
      @livecode247  6 місяців тому +1

      Thanks for the input! I wanted to make a short video and introduce the repository itself and didn't want to make it too long, but will keep the input in mind

  • @vedadburgic7530
    @vedadburgic7530 9 місяців тому +1

    Thanks a lot guys, really appreciate the work you put into this table.

  • @povilaskirna4108
    @povilaskirna4108 10 місяців тому

    Well done just the right video I was looking for. I skimmed through and it appears you go into enough detail but don't over explain. I like it a lot 👍

  • @bessimboujebli1076
    @bessimboujebli1076 2 місяці тому

    this work is so so good, well done man

  • @sankalpsingha
    @sankalpsingha Рік тому

    Really appreciate the work that went into this! Thank you and Sadman. 🙌🏻

    • @sankalpsingha
      @sankalpsingha Рік тому

      Some questions, I saw in the data-table.tsx, its using useRouter and other "use" hooks which give error in the NextJs stating that it needs to be a client component?

    • @livecode247
      @livecode247  Рік тому

      The component is actually inside a "use client" directive, if I remember correct

    • @livecode247
      @livecode247  Рік тому

      Thank you for the compliment!

  • @krthay
    @krthay Рік тому +1

    You are doing great. I checked your skateshop project it is wonderful.

    • @livecode247
      @livecode247  Рік тому

      Haha that's completely Sadmann man, nothing by me 😊... Agree he's doing a wonderful job!

  • @1val
    @1val Рік тому +1

    My main complaint with shadcn's demo table was the absolutely massive dependency tree full of imports spread out all over the place. Looks like you've improved on it a lot with a cleaner repo! Thanks!

    • @livecode247
      @livecode247  Рік тому

      Thanks for sharing your views 😊! This code is using the same base as shadcn's demo table, but now you probably don't ever need to update the data-table file, except if you want to customise the design.

  • @oscarresonable2008
    @oscarresonable2008 Рік тому

    Keep going. You always have amazing content. Indeed, it really help us a lot. ❤ #underrated

  • @jahidhusain7988
    @jahidhusain7988 25 днів тому

    How can I implement loading while query, sorting or paginating though in your code you implement suspense but it doesn't show while the above task is running... Thanks for this video.

  • @ShadowsPowerFy
    @ShadowsPowerFy 18 днів тому

    Is it possible to make and easy starter guide without a database please.

  • @krishnarajuyoutube
    @krishnarajuyoutube 6 місяців тому

    Good works thanks

  • @fame4263
    @fame4263 Рік тому +1

    Thank you for this, is is possible to make a download button where it downloads the filtered data?

    • @livecode247
      @livecode247  Рік тому

      Oh that would be interesting to make! We probably won't include it in the table component though, since it won't be something a lot of people will actually be using, but would be a fun thing to have. The thing is, this is not related to the table as such and this would be related to the data you're getting back. You have to query the data and then somehow find a way to generate a csv using the data, which the person will be able to download

  • @bouwensr
    @bouwensr Рік тому +2

    2 bugs. When I select the first item and goto next page the first item there will also be selected
    When you select 50 per page go to page 2 and filter on a keyword that iLife’s only a few results it will not show it as it stays on page 2

    • @livecode247
      @livecode247  Рік тому +1

      Fixed the second issue. Looking into the first one. Thank you for pointing it out!

  • @phyaesonethwim3290
    @phyaesonethwim3290 Рік тому +1

    I already checked the demo, all the implemetations you did are great. But one issue is that row selection has some issue, when I select all rows and navigate to another page, the items still selected in another page even the single item selected state, i.e I selected first row but the another page still select the first row.

  • @OnlyJavascript
    @OnlyJavascript Рік тому

    Can u show us a complete CRUD?

  • @mattehartog
    @mattehartog 10 місяців тому

    would it be easy to port this to astrojs by any chance? or is it heavily reliant on next? thank you!

  • @HaAutumn
    @HaAutumn 3 місяці тому

    wish there was a version with react and nodejs :((

  • @vdhuy2001
    @vdhuy2001 9 місяців тому

    I am using Reactjs with Tanstack rest api and having difficulty with search and filtering pagination, can someone who has encountered this situation share with me?

  • @naufalnasrullah6965
    @naufalnasrullah6965 Рік тому

    it the table support crud operation?

  • @henryharris5354
    @henryharris5354 Рік тому

    Hello, can you create a beginner friendly version of this application? I was reading your code but I don't have much experience with T3 stack and Prisma. If you could re-create this using json-server and swr/tanstack query it would be much appreciated.

    • @livecode247
      @livecode247  Рік тому

      Hey man! Most of this code is just using shadcn's ui library and you don't even have to rewrite the data-table component. You can directly use it inside your application, you just need to handle querying the data

  • @mageshyt2550
    @mageshyt2550 27 днів тому

    the setup seem different now

  • @HarshDivecha_FTR
    @HarshDivecha_FTR Рік тому

    Any idea how to make rows draggable ?

    • @livecode247
      @livecode247  Рік тому +1

      Hey, can you tell me a use case where you will actually need this, since it's a table which is showing dynamic data and I don't really get where this would be useful. Were you thinking of something specific?

    • @HarshDivecha_FTR
      @HarshDivecha_FTR Рік тому

      @@livecode247 Yes, in scenarios where you add data on admin panel and then you want customer facing app to show data in a particular order, so dragging and rearranging would be an intuitive way to do it.

  • @IrshadKP-s2s
    @IrshadKP-s2s Рік тому

    Please do for projects that not use orm

    • @livecode247
      @livecode247  Рік тому

      In that case, you will have to manage getting the data by yourself, and manipulating the data (filtering, sorting, pagination) using the data parameters you get back

  • @johnaroj
    @johnaroj Рік тому

    does the url still working?

    • @livecode247
      @livecode247  Рік тому

      Think Sadman changed it to table.sadmn.com/

  • @monogram6357
    @monogram6357 2 місяці тому

    always has an India guy better than you :D