Angular Material Table - With Sorting and API Data

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ส.ค. 2024
  • Learn how to use Angular Material table by building users table with sorting and fetching data from the API. Angular Material Table is a nice approach if you have lots of tables or want to write bare minimum of code.
    TIMESTAMPS
    0:00 Introduction
    1:51 Angular material table installation
    2:23 Adding module
    5:18 Adding markup for the table
    7:51 Rendering rows
    10:59 Angular material table data source
    22:27 Sorting
    ► CHECK MY COURSES - monsterlessons-academy.com/co...
    FOLLOW ME
    ► TWITTER - / monster_lessons
    REFERENCES
    ► Source code - github.com/monsterlessonsacad...
    STUFF I USE
    ► My imac for home on Amazon - amzn.to/3MgtZAC
    ► Mac macbook to go on Amazon - amzn.to/3yr3UJg
    ► My monitors on Amazon - amzn.to/3yw6lKD
    ► My mouse on Amazon - amzn.to/3CEFCNt
    ► My keyboard on Amazon - amzn.to/3fOzNVL
    ► My monitor arm on Amazon - amzn.to/3CHr5BA
    ► My speakers on Amazon - amzn.to/3T4uf7W
    ► My coffee machine on Amazon - amzn.to/3rI9DGQ
    ► My Synology NAS on Amazon - amzn.to/3MjIpQz
    ► My Seagate IronWolf 4TB HDD on Amazon - amzn.to/3Cndm1B
    ► My external SSD drive on Amazon - amzn.to/3rFPQb1
    ► My external HDD drive on Amazon - amzn.to/3MmrsVE
    ► My microphone - amzn.to/3SMCE08
    ► Audio interface - amzn.to/3ecWv9O
    ► Camera - amzn.to/3RNOLIM
    Disclosures: All opinions are my own. Sponsors are acknowledged. Some links in the description are affiliate links that if you click on one of the product links, I’ll receive a commission at no additional cost to you. As an Amazon Associate I earn a small commission from qualifying purchases.

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

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

    Thanks a lot for your contribution for Angular devs. I appreciate a lot, despite that now is big hype for React, you continue create a very useful Angular content.

  • @d.bachmann6798
    @d.bachmann6798 ปีที่แล้ว +2

    Have watched several videos with this Author (name?). This is something real high quality. I am an experienced programmer and have even worked with Angular for some time and still this was very much worth watching. He has a God given talent of making coding videos.
    This series should have 1000s of likes.. really amazing well explained . Very well edited everything is not too long and not too short.. It is a real pleasure to watch and learn from. Also by following these videos you pick up good coding practices with an understanding of why!

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

    Wow that's exactly what I was looking for to solve my custom data source problem. It feels like Angular doesn't have good support videos these days. You always seem to have a video to help me fix a problem. Continue the good work!

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

    Thank you for your afford!!! Im learning so much from u. The last thing was about CD Strategy OnPush!!
    Thanks for everything you provide to the community ❤

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

    Thank you very much, your video was super helpful and has a great structure to it

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

    Great.. its worked like a charm.. Thank you so much :)

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

    Thanks a lot, so much useful information about mat-table, I appreciate a lot.

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

    Great video👍 your ways of explaining is awesome 👌

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

    Great Tutorial On a custom data source, helped me solve something at work.

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

    Thank you Sir!

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

    This is awesome. I just learnt alot. Please do you have a video on Material Pagination?

  • @MahmoudTarek-pz1rl
    @MahmoudTarek-pz1rl 9 หลายเดือนก่อน

    Im trying to implement custom table row of angular material table using ngTemplateOutlet and it is not working, always cant see the columns definition, any advice

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

    I had to create a similar table using mat-table a week ago but could not find a way to use ngFor for the head. Do you think if there is any way ngFor can be utilized effectively in the template?

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

    Explendid🎉

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

    thanks

  • @MahmoudTarek-pz1rl
    @MahmoudTarek-pz1rl 10 หลายเดือนก่อน

    Thanks a lot for great content, it really helps.
    I'm currently having a problem in sorting material table.
    It is working correctly in the first page but after pagination any other page the data just disappear after click on sorting arrows
    Any help would be appreciated

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

    This was so helpful, thank you!! Do you have a post or TH-cam video that explains how to use nested Angular Material Data Tables. How do I create a nested mat-table; parent mat-table with one column and each row with a nested child mat-table with three columns?

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  10 หลายเดือนก่อน +1

      Hi Gibran, unfortunately I don't have experience with nested mat-table.

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

      @@MonsterlessonsAcademy I understand, thank you for letting me know and for the swift response.

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

      @@MonsterlessonsAcademy I finally figured out 😃

  • @Chandrakumar-ub1uh
    @Chandrakumar-ub1uh ปีที่แล้ว

    which vs code theme r u using ?

  • @VinodSharma-qg5nz
    @VinodSharma-qg5nz ปีที่แล้ว

    good content....what IDE are you using ?

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

    Please can you do a video on how to export a table in pdf format. both angular material table and custom table

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

    has anyone noticed the subscribe button shine when he said subscribe 18:34

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

    Hi thanks please make it with Filter againts API please

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

      Just build an input outside of table and call a method from dataSource class which will make an api call with provided searchValue. It doesn't have anything to do with material table.

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

      @@MonsterlessonsAcademy I dont get it please please make a video please

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

    I don´t understand why cant we just use the user service to get the data and instead you make a custom data source

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

      To show you the way of creating custom data source for material UI. I showed it with static data from the beginning and you can stick with that if you want.