I Never Want to Create React Tables Any Other Way

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025
  • Man, the React ecosystem is just amazing. Tables can be very complex in their logic and design. I usually relied on a heavy, bloated data grid from Material-UI. NOT ANYMORE HEHE! Look at this table and tell me it ain't awesome. The combination of shadcn's design with the functionality of tanstack tables is powerful.
    Shadcn's UI library: ui.shadcn.com/
    My GitHub: github.com/jos...
    Discord: / discord
    Twitter: / joshtriedcoding

ความคิดเห็น • 242

  • @NicolasSouthern
    @NicolasSouthern ปีที่แล้ว +107

    I’ve been utilizing Tanstack Table in my latest project and have been seeing great results. The documentation can be a little lacking and there’s definitely trial and error with getting it just right but it’s very powerful.

    • @wandenreich770
      @wandenreich770 ปีที่แล้ว +22

      me too... the documentation was such a headache but it did pay off

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว +1

      Cool to hear, glad it has been working well for you. The styling makes it so nice to work with now

    • @belkocik
      @belkocik ปีที่แล้ว +4

      @@joshtriedcoding I tried to use react table but the docs are no that great. Would be great if you make a video about React Table Josh :D

    • @sevenseven6123
      @sevenseven6123 ปีที่แล้ว +3

      i also want to shine in and emphasize that the v8 documentation is absolute ass and the only reason I even stumbled upon this video is that I am looking for a guide on it.
      So yeah, a tutorial would be awesome!

    • @jeremymunroe
      @jeremymunroe ปีที่แล้ว

      Is there server side pagination ?

  • @Play_Streams
    @Play_Streams ปีที่แล้ว +68

    After using Tanstack for a while I've just created my own table component. When you think about it, once you deal with the main issues: Pagination, Search, Column sort, Row count selection and Data export you have a pretty reusable tool you can copy over to multiple projects.

    • @AnishBishnoi-wf7lv
      @AnishBishnoi-wf7lv ปีที่แล้ว +7

      can you give me code ?

    • @wchorski
      @wchorski ปีที่แล้ว +6

      I'm not one to ask for freebies, but if you have a repo to check out that would be epic

    • @increase-chrisalaede4813
      @increase-chrisalaede4813 ปีที่แล้ว

      Can you share repo?

    • @boubeniamohamed236
      @boubeniamohamed236 ปีที่แล้ว +1

      I agree with you. Wen tend to try to reuse other's people codes without understanding it. But at the end, it is ok to invent our own tools that we finally reuse it everywhere.

    • @Jmfufghf
      @Jmfufghf 10 หลายเดือนก่อน +2

      I was thinking the same thing but you might be just reinventing the wheel that's already been created by tanstack in the end

  • @SeanCassiere
    @SeanCassiere ปีที่แล้ว +29

    As someone who's been shipping Tanstack Table for a while now, it's great that Shad was able to get this new styled DataGrid out.

  • @c4346
    @c4346 ปีที่แล้ว +35

    Each news on this library is just mind-blowing

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว +8

      Man is on his sigma grindset making these awesome updates

  • @jjrise
    @jjrise ปีที่แล้ว +12

    I swear this is the 10th time now I've laughed out loud at one of your videos because of the irony. I started using shadui a few weeks ago, then saw your videos on it. Yesterday I started using his new data table, then saw this video. Same a few months ago with T3 related stuff, trpc, etc. I love how you read my mind and deliver videos at the perfect time ; ).

  • @KevinVandyTech
    @KevinVandyTech ปีที่แล้ว +11

    Awesome to see coverage on TanStack Table. There are now many implentations and examples for how to use it now. Glad Tailwind is finally getting showcased with it.
    I have made MUI and Mantine implementations if curious, but they are not quite as modular as this one.

    • @AmodeusR
      @AmodeusR ปีที่แล้ว +1

      But this isn't TanStack Table 🤔 It's from UI Shadcn.

  • @martiananomaly
    @martiananomaly ปีที่แล้ว +30

    The tanstack react table docs are hot garbage

    • @marcialabrahantes3369
      @marcialabrahantes3369 4 หลายเดือนก่อน

      just go to the examples

    • @marvsman00
      @marvsman00 ชั่วโมงที่ผ่านมา

      @@marcialabrahantes3369sometimes even worse💀

  • @siya.abc123
    @siya.abc123 ปีที่แล้ว +5

    Nice! This is so similar to Ag Grid. I guess that makes sense since Tanstack and Ag Grid are partners now

  • @matthewrossee
    @matthewrossee ปีที่แล้ว +12

    Hi Josh, what about server side pagination? Because you rarely want to fetch all users from the DB.

  • @blazingfingersguy
    @blazingfingersguy ปีที่แล้ว +2

    Been wanting to change all my tables with Tanstack Tables. Thank you!

  • @its_ot
    @its_ot 4 หลายเดือนก่อน

    I was just reviewing shadcd's table page last night, can't wait to give it a shot!

  • @haritpatel5001
    @haritpatel5001 ปีที่แล้ว +5

    Would love a more detailed video on this ? Maybe a small case project on shadcn.
    Love your content, always on the point ❤ and value.

  • @afroj3di
    @afroj3di ปีที่แล้ว

    Just came across ur channel randomly on my feed. As a software developer who works on lots of react projects, I find ur videos really helpful. 👍🏿👍🏿

  • @UwU-dx5hu
    @UwU-dx5hu ปีที่แล้ว

    I just loved how you addressed the main two problems forms and tables.
    Then how presented the whole video. Keep up the good work❤

  • @artu-hnrq
    @artu-hnrq ปีที่แล้ว +4

    Useful component. Quick, precise and too valuable presentation!
    I've been finding really interesting tips from your videos.
    Thanks for all these shadings 👏

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว +2

      Cheers dude. Happy to hear that. First I filmed a complete walkthrough but figured this kind of overview is just more interesting

  • @HarshDivecha_FTR
    @HarshDivecha_FTR ปีที่แล้ว

    It's AMAZING, i am using it for my current project, especially for the table, everything important is there, except 1, making the rows draggable has been a headache, still haven't figured it out.

  • @thiruvengadam96
    @thiruvengadam96 ปีที่แล้ว

    This library was a life saver, saw this video at the right time. I was just about to use Material UI for my dashboard, after seeing this. I am changing my mind.

  • @bitcraft3r
    @bitcraft3r ปีที่แล้ว

    Exactly what I was looking for, and I asked this same question on the day you posted the video!

  • @danielcastrillo81
    @danielcastrillo81 ปีที่แล้ว +3

    The hardest part of Tanstack table is the server side pagination

    • @bikerguy3338
      @bikerguy3338 ปีที่แล้ว

      I played around with tanstack table server pagination a few months ago. At that point there wasn’t great documentation so it wasn’t till I found a random example online that I was able to get it going.

    • @lalit5408
      @lalit5408 ปีที่แล้ว +1

      We are doing that. We are just making a new REST API call to get next page data.
      Not sure what's difficult in that.

    • @Saurabhkumar-bn3dl
      @Saurabhkumar-bn3dl ปีที่แล้ว

      @@lalit5408 Is your code open source? If not, can you share an overall flow of how you are approaching that.

  • @ragtop63
    @ragtop63 5 หลายเดือนก่อน

    I haven't tried this library yet. Does the browser render the table component as an actual element? This is important for crawlers and accessible design. There's nothing worse than tables being built with divs and flex to simulate a table.

  • @ssilentman4022
    @ssilentman4022 วันที่ผ่านมา

    Perfect tutorial, but how can you make it SSR, if i have about 10,000 rows, it will be a bit slow.

  • @allowmeasme
    @allowmeasme ปีที่แล้ว

    That line My grandmother could do it made me subscribe. I love how you explained it.

  • @alexscorer1
    @alexscorer1 ปีที่แล้ว +1

    I love you for explaing these components - gave me such a headache in the past..
    I'd also love it if you did a few example projects - such as multiTennant
    Keep it up!

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว

      Cheers man. Haven't heard of multitennant yet, though this library is part of multiple of my open-source projects from the past and I'll very likely use it in the future too

  • @Brocollipy
    @Brocollipy ปีที่แล้ว +1

    Awesome thanks I was just about to go headlong into MUIX Data grid.. not anymore! I was planning to use Formik so sounds like I need to play around with the form solution you mentioned.

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว +1

      Check out the docs, I was amazed at how well they're written. Tables are not an easy topic but the setup is super straightforward

  • @henriquematias1986
    @henriquematias1986 ปีที่แล้ว

    ideally the URL should be changing when you go prev / next page so you can deeplink to it!

  • @dogcitydog
    @dogcitydog ปีที่แล้ว +1

    Hello, I did not know this bookstore. It seems to have good performance, but I would like to know if you have the option to enable data editing by cells and copy/paste?

  • @Comphonia
    @Comphonia ปีที่แล้ว +4

    Sad the React ecosystem doesn’t have an easy component library.
    MUI is a bloated mess and tables are still a struggle. Mantine is my current library of choice but scary with only a single maintainer.
    Quasar for Vuejs is the best thing I’ve ever used, columns and paginations are as simple as modifying props on a one line q-table component!

    • @dylanarmstrong9328
      @dylanarmstrong9328 ปีที่แล้ว +2

      Radix is decent and comes without styles which is nice but I know what you mean. I find myself taking HTML templates and just converting them most of the time.

  • @farfazzi
    @farfazzi ปีที่แล้ว

    some more features i would like to have: column pivoting, column resize by dragging, column order switch by drag and drop, multiple headers… can we do that? aniway seems pretty neat

  • @kikisbytes
    @kikisbytes ปีที่แล้ว

    Great video! I'll definitely be trying this

  • @Cydev88
    @Cydev88 2 วันที่ผ่านมา

    How to make this pagination works with react query infinitescrolling?

  • @Bodom1978
    @Bodom1978 ปีที่แล้ว

    I'm really liking what I see from this lib. Will consider it for smaller projects in the future to really see what caveats it has.

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว +1

      Haven't found a caveat yet, shipped multiple projects using it and so far so good

  • @edgarasben
    @edgarasben ปีที่แล้ว +1

    Very cool! Can the search, pagination, sorting etc. be done server side? In case on initial load not all data is loaded.

    • @Berkeli
      @Berkeli ปีที่แล้ว +3

      This requires more attention. Tables without server side search, pagination are a no go for 99% of projects

  • @dertuman
    @dertuman ปีที่แล้ว

    Hello there! Thanks for this video, very helpful. Might give it a try. I use Antd currently, it's pretty good. Documentation isn't great though. Also, when you mentioned the grandma line, I found it funny because you made a rookie mistake! (or not so rookie, I see it happening to seniors), anyway if you don't have any arguments you can run the function like this: doSomething, instead of like this: () => doSomething()
    Thanks again and have a nice day!

  • @perebaj
    @perebaj 5 หลายเดือนก่อน

    bro, your videos are so helpful, ty

  • @myWorldDiscover
    @myWorldDiscover 11 หลายเดือนก่อน

    if you want to make headers fixed, footer for totals also fixed for month summary and grand total. which library should you use?

  • @kuroisan2698
    @kuroisan2698 ปีที่แล้ว +1

    I prefer building my custom component library
    you can make it as you want and add anything you prefer like animation and so on

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว

      cheers man, it's certainly more work but glad to hear it works for you

  • @eduardoaranda4379
    @eduardoaranda4379 ปีที่แล้ว +1

    It’ll work until there’s thousands of records. Why on earth we want client side pagination? It doesn’t make any sense. I tried using this with server side but docs were non existent.

    • @forwork7967
      @forwork7967 ปีที่แล้ว

      i thought about it too, the same with sorting or filtering. its better to do on server side, i think

    • @martiananomaly
      @martiananomaly ปีที่แล้ว

      Client side pagination is almost useless, yeah

  • @shahariarniloy8935
    @shahariarniloy8935 ปีที่แล้ว +3

    I found antd has way more potentials, not just for table but also for a lot of other components, i wish we will hear up/down side of antd from you.

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว

      Interesting suggestion, one of the UI libs I got less experience with

    • @gabrielalbuquerque3387
      @gabrielalbuquerque3387 ปีที่แล้ว

      antd is HUGE! so good!
      but i dont have tested with nextjs server components yet. i should give a try.
      do you ever tested antd with RSC?

    • @geelemo
      @geelemo ปีที่แล้ว

      Yh they still have to be client components

    • @vonPBDesign
      @vonPBDesign ปีที่แล้ว +1

      antd is my favourite. Works like a charm and the design is really well done as well.

  • @mazwrld
    @mazwrld ปีที่แล้ว

    i couldn’t integrate this ui library with my existing t3 app but im thinking to build my portfolio with it

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว

      why not? Should be compatible with everything related to react like remix, nextjs or vanilla

  • @martapfahl940
    @martapfahl940 9 หลายเดือนก่อน

    My current problem is I am using NextUI and I need a table where I can directly edit the cells and create nested rows. So row entries that have a relationship to a parent column and are collapsable. MUI only provides it in the Pro plan. Maybe I can build this upon the shadcnui code

  • @LEDsellers
    @LEDsellers ปีที่แล้ว +2

    How would you implement this library using trpc and infinite scroll?

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว +1

      idk man, good chance you might find something in the docs for that

  • @codinginflow
    @codinginflow ปีที่แล้ว

    Looks cool. Now I want to build a project that needs tables 😆 Maybe my own Notion 🤔

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว +1

      Hahaha it's tempting to just include all the cool stuff you see into your projects, it's a trap though! DONT DO IT UNLESS NEEDED :D

  • @kasiviswanadha4738
    @kasiviswanadha4738 3 หลายเดือนก่อน

    Can we give space between two rows ?

  • @ralexand56
    @ralexand56 ปีที่แล้ว +1

    Could you implement something like column freezing. I feel like that's only supported by the more advanced tables.

  • @toannew
    @toannew ปีที่แล้ว

    Can you please make a video teaching use this react-table (typescript)?

  • @Mirislomovmirjalol
    @Mirislomovmirjalol ปีที่แล้ว

    Is it possible to make server pagination, server sort, server filtering?

  • @Suragato
    @Suragato 9 หลายเดือนก่อน

    I know this is an example, but please cache the formatter outside the cell render function >.

  • @MatanS_CS2
    @MatanS_CS2 10 หลายเดือนก่อน

    I tried using shadcn with nextjs as POC and i got a problem, maybe you'll be able to help me with.
    I added a table with columns visibility and the checkboxes items in the column visibility dropdown are showing the id of the column.
    The thing is i want to show some label or something so ill be able to use it in different languages and not only english as the id of the cell is always english in my projects..

  • @nirajgautam403
    @nirajgautam403 9 หลายเดือนก่อน

    I want have an onclick as well as hover events on table cell. How can I do it?

  • @utkarshkukreti239
    @utkarshkukreti239 ปีที่แล้ว

    In one of your other video of nextjs course(where you created a ui for api path) you mentioned mui tables are so good but you didn't mention this point of large client side code of mui tables.

  • @khSoraya01
    @khSoraya01 7 หลายเดือนก่อน

    What about complicated json structure where some fields can be empty and subcolumns....

  • @namanjain3711
    @namanjain3711 ปีที่แล้ว +1

    It is pretty much easy with ExtJS , and less complex and highly customisable

  • @vickoalan
    @vickoalan ปีที่แล้ว +2

    Please can you do a video how we can upload files from NextJs 13.4 to cloudflare R2 ??

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว

      Just did one that covers the same thing for S3, I don't think there is a fundamental difference in how you achieve the same thing with R2

    • @vickoalan
      @vickoalan ปีที่แล้ว

      @@joshtriedcoding
      can you give me the Link, because I searched on your channel but didn't found it

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว

      @@vickoalan th-cam.com/video/yu4KKmNFg2Y/w-d-xo.html&ab_channel=Joshtriedcoding

  • @faridgonzalez9292
    @faridgonzalez9292 ปีที่แล้ว

    Hey bro, how are you doing? I listened to you and downloaded the data table but I have a problem. I need to put drop-down selects in one of the columns, to select the user, but I don't know how to do it, I see it as almost impossible. Can? And how would it be? thank you

  • @DnKZone
    @DnKZone 3 หลายเดือนก่อน

    You don't want to fetch all the data at once!

  • @noext7001
    @noext7001 ปีที่แล้ว

    im using this lib but i have no style when using ssr , any idea why ?

  • @LuKaSSthEBosS
    @LuKaSSthEBosS ปีที่แล้ว +1

    I never want to create tables in any way

  • @martinhltr
    @martinhltr ปีที่แล้ว

    do you know nextui also a great ui package which will be soon also be compatible with next 13.4

  • @varinderpalsingh7281
    @varinderpalsingh7281 ปีที่แล้ว

    I’m using same library for current project only issue I’m having is rendering components like autocomplete, calendar, text field in cell which takes time to load when add more rows

  • @kevklash
    @kevklash ปีที่แล้ว

    Extremely useful! Thanks for sharing!

  • @avsheshsavani6257
    @avsheshsavani6257 ปีที่แล้ว

    How to give relational header and subHeader or nested headers?

  • @anuj7286
    @anuj7286 ปีที่แล้ว

    Hey josh, could please make a tutorial on best way to create reusable component for both component library and non component library. Thankyou

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว

      Already did: th-cam.com/video/eXRlVpw1SIQ/w-d-xo.html

  • @longnhat6405
    @longnhat6405 ปีที่แล้ว

    So the pagination is done on client side? Can this work for serverside pagination?. Server side pagination mean i only fetch data of the page im currently in?. Thanks

  • @gregthomas5887
    @gregthomas5887 ปีที่แล้ว

    Were you able to try other features here like virtualization and infinite scrolling?

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว

      Tried a bunch, not those two though

    • @gregthomas5887
      @gregthomas5887 ปีที่แล้ว

      @@joshtriedcoding excited to find out if shadcn can do those. It's so freaking difficult to customize material ui styling!

  • @FullStackDevGreg
    @FullStackDevGreg ปีที่แล้ว

    In one an hour if watching your videos I discovered a lot, thank you Sir

  • @exxedridel9043
    @exxedridel9043 ปีที่แล้ว

    Please do an example of custom pagination, to have for example 15 rows per page instead of the default 10 please!

  • @stevebendersky2056
    @stevebendersky2056 ปีที่แล้ว

    I have used this table with Tanstack Table, how do I make filter in each of the columns (for example filter by gender or by goal)? thanks

  • @jesinthejust2205
    @jesinthejust2205 ปีที่แล้ว

    What if I want to add a delete and edit button?

  • @hypealex
    @hypealex ปีที่แล้ว

    how to make it lazyloading? shadcn example is not perfomant in terms of calling api.

  • @thejanbandara3076
    @thejanbandara3076 2 หลายเดือนก่อน

    but for react 19 it is not supporting

  • @kjn6037
    @kjn6037 ปีที่แล้ว

    Theres no serverside search/pagination and others?

  • @eliazar1997
    @eliazar1997 ปีที่แล้ว

    This is amazing! thank you brother!!! :D

  • @hetnon
    @hetnon ปีที่แล้ว

    I'm trying to build a table with no paginatiom but that is intense in the render. I have to resort to List but building a table with that is being a hell.
    Any ideas?

    • @uralguru9719
      @uralguru9719 ปีที่แล้ว

      Virtualize large lists using the Response window)

  • @Dhanushsaji
    @Dhanushsaji ปีที่แล้ว

    How to make table head fixed?
    Thank you

  • @smartjefreycoca5425
    @smartjefreycoca5425 ปีที่แล้ว

    is this better than Material React Table that built with Mui table and tanstack table?

  • @alvinscheibe
    @alvinscheibe ปีที่แล้ว

    With this component is it possible to perform queries on the server side to do paging?

  • @devByDash
    @devByDash ปีที่แล้ว

    does this library works with jsx ??
    I tried but init failed coz my root folder doesnt contain tsx.config file

  • @paschalokafor9043
    @paschalokafor9043 ปีที่แล้ว

    Pleass how do i deal with multiple selects or bulk actions

  • @shakhruzrakhmatov2285
    @shakhruzrakhmatov2285 ปีที่แล้ว

    Josh, any suggestions if I want to use realtime data for the table? I mean can I still use table component inside server side component, wdyt?

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว +1

      Depends on the use-case, but might make sense to just turn it into a client component to subscribe to realtime events inside of it

    • @shakhruzrakhmatov2285
      @shakhruzrakhmatov2285 ปีที่แล้ว

      @@joshtriedcoding thanks man! appreciate the opinion! I am going to use liveblocks for realtime, I am thinking to turnn it into client side component as you said!

  • @CW91
    @CW91 ปีที่แล้ว

    Does it support lazy loading? It would be nice if I can fetch the first 50 table rows, then next 50 rows is loaded only when Next Page is clicked. The search bar will fetch the search results from server side rather than client data?

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว

      Not sure if it does out of the box actually. Not rocket science to implement yourself but it would be awesome if it was supported out of the box

  • @bjornwiberg
    @bjornwiberg ปีที่แล้ว

    It's also worthy to look into the accesssorFn provided in the columnsDef which makes filtering by column possible when using formated data in the cells
    I have two defaultFunctions for handling the rendering and the formatting
    const renderCellValue = (key: string, value: string | number) => {
    if (key === 'modifiedAt' && value !== null && isValidDate(new Date(value))) {
    return {value}
    }
    return value
    }
    const defaultAccessorFn = (key: string, value: AccessorFunctionValue) => {
    const dateColumns = ['archiveDate', 'createdAt', 'endDate', 'startDate']
    if (value === undefined || value === null) return '---'
    const valueAsDate = new Date(value as string)
    if (key === 'modifiedAt')
    return `${format(valueAsDate, 'yyyy-MM-dd HH:mm:ss')}`
    if (dateColumns.includes(key)) return `${format(valueAsDate, 'yyyy-MM-dd')}`
    return value
    }
    and then my getTableColumns function to be able to provide some custom columns
    export function getTableColumns(
    tableColumns: Partial,
    data: DataType[],
    ) {
    return useMemo(() => {
    const customColumns: [string, TableColumnLayout][] =
    Object.entries(tableColumns)
    const dataColumnsKeys = Object.keys(data[0] ?? [])
    if (customColumns.length > 0) {
    return customColumns.map(([key, column]) => {
    const renderFunction = (value: string | number, original: DataType) => {
    if (column.render) return column.render(value, original)
    return renderCellValue(key, value)
    }
    const accessorFn = (value: string | number) =>
    column.accessorFn
    ? column.accessorFn(value)
    : defaultAccessorFn(key, value)
    return {
    accessorFn: (originalRow) => accessorFn(originalRow[key]),
    accessorKey: key,
    filterFn: 'fuzzy',
    cell: ({ getValue, row: { original } }) =>
    renderFunction(getValue(), original),
    header: column.title ?? key,
    listData: column.listData,
    size: column.width,
    }
    })
    }
    // Return full object if custom columns layout not specified
    return dataColumnsKeys.map((key) => ({
    header: key,
    accessorKey: key,
    cell: ({ getValue }) => renderCellValue(key, getValue()),
    }))
    }, [data, tableColumns])
    }

  • @rolandosuak
    @rolandosuak ปีที่แล้ว

    How do we truncate a specific cells in shadcn datatable?

    • @Chris...S
      @Chris...S ปีที่แล้ว

      Use the cell: in columes definition and make a function to do the truncation. Josh explains the cell in the video

  • @fronix5060
    @fronix5060 ปีที่แล้ว

    In what way is this less bloated than MuiX DataGrid? Seems to be exactly the same to me?

  • @Filipmalek1
    @Filipmalek1 ปีที่แล้ว

    Great video!
    I have bene using tanstack query for a while but never their tables, For that I result to Mui DataGrid (pro). It's massive and comprehensive but it works. You get all out of the box without the need to reimplement your own pagination buttons and more. Again, it comes down to - is shipping 300kb of Mui tables to the user an issue? We want to say yes, because we are thought to, but in reality it depends on who your "users" are. In my case, users are sitting in an office with great wifi connection (800kbps download speeds) with max 3 year old laptops (dell xps 15's, X1's, M1/2 macs) so speed, in any form, isn'y really an issue.
    With that being said I am always up for trying something new and better and this just may be it!

  • @blankomog
    @blankomog ปีที่แล้ว

    Can I do additional styling with tailwind?

  • @vidzzzzify
    @vidzzzzify ปีที่แล้ว

    Can we do date range filter using this?

  • @danielnoworyta
    @danielnoworyta ปีที่แล้ว

    How about infinite scroll in this one?
    This is one of big problems in Table libraries.

  • @JoelDev14
    @JoelDev14 ปีที่แล้ว

    i feel like this lib is also a bit bloated. It needs tailwind css to work. I have a project that uses bootstrap so adding tailwind css just to use this lib is kinda weird IMHO

  • @nabinsaud4688
    @nabinsaud4688 ปีที่แล้ว

    I immediately added to my project 🎉❤ love the tanstack table

  • @voidtraveller01
    @voidtraveller01 ปีที่แล้ว +1

    I move from react hook form to mantine form. And I never want to go back.

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว

      oh really is it that much better?

    • @voidtraveller01
      @voidtraveller01 ปีที่แล้ว

      @@joshtriedcoding Yes imo. With react hook form the rendering life cycle is so confusing. Mantine form is just very easy to understand and predictable. The downside maybe it's hard to integrate with other ui framework. But if you use mantine ui already the integration is very smooth.

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว

      @@voidtraveller01 nice, yeah mantine is great, didnt even know they had that

  • @brokeartisan
    @brokeartisan ปีที่แล้ว

    Looks alot like the AntD api for tables from back in the day but more simplified.

  • @gabrieltimba4772
    @gabrieltimba4772 ปีที่แล้ว

    Hi, there is a way to integrate that pagination with my api pagination to not load all data at once?

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว

      Not sure if it works out of the box. Might just work! If not, my approach would be to get the current page index, and if it's near the end fetch the next pages from an API

    • @KevinVandyTech
      @KevinVandyTech ปีที่แล้ว

      @@joshtriedcoding Yes, using manualPagination and managing pagination state

  • @KuroDe_
    @KuroDe_ ปีที่แล้ว

    How to paginate and sort async data?

  • @MisouSup
    @MisouSup ปีที่แล้ว

    No virtualization tho ?

  • @freeguy2418
    @freeguy2418 ปีที่แล้ว +1

    This looks like the Datatable plugin from Jquery!

  • @furycorp
    @furycorp ปีที่แล้ว

    Thanks for sharing this new addition, data tables are such a pain in the ass!

  • @7dainis777
    @7dainis777 ปีที่แล้ว

    Do these tables support virtualization for large datasets?

  • @saidurrahmansiam
    @saidurrahmansiam ปีที่แล้ว

    another great video bro....Can you make a video on smart way of auth system integration as Nextjs 13 has server function and API routes now.

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว +1

      Thank you man. Auth hasn't really changed in Next 13 besides validating users in server components, might make for an interesting video tho

    • @saidurrahmansiam
      @saidurrahmansiam ปีที่แล้ว

      @@joshtriedcoding that would be great for beginners like me 😌

  • @tanjungclan3864
    @tanjungclan3864 ปีที่แล้ว

    sir maybe it's quite out of topics, but I wonder, do you prefer react form over formik?

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว +1

      Never tried formik, am very happy with react-hook-form. Working very well for me

    • @tanjungclan3864
      @tanjungclan3864 ปีที่แล้ว

      @@joshtriedcoding okey thanks sir, I think wanna using react-hook-form from now on

    • @joshtriedcoding
      @joshtriedcoding  ปีที่แล้ว +1

      @@tanjungclan3864 give it a shot and lmk what you think. I like it a lot

    • @tanjungclan3864
      @tanjungclan3864 ปีที่แล้ว

      ​@@joshtriedcoding sorry sir, my english is bad, can you explain me what is mean imk stand for ?

  • @joaomaia9140
    @joaomaia9140 ปีที่แล้ว

    how to make the table editable?