Angular Material Data Table - Paging, Sorting and Filter Operation

  Рет қаралды 203,814

CodAffection

CodAffection

Күн бұрын

🍒 Related Videos
Next Video : • Angular Material Popup...
Previous Video: • Angular Material - Fir...
MEAN Stack CRUD: • MEAN Stack CRUD Operat...
Angular Tutorials: • Angular Tutorials
(Angular & .Net Core API) More Videos: • Angular & Asp.Net Core...
📂 GitHub Repository
► goo.gl/kXGxaj
💖 Channel Support
➤ Paypal: bit.ly/3L36ut4
➤ UPI App: geni.us/ScanQR...
➤ Amazon: geni.us/Amazon...
💌 For Business Inquiries
➤ codaffection@gmail.com
🚶‍♂️ Follow us
Facebook : / codaffection
Discord : / discord
Twitter : / codaffection
---
Angular Material Data Table - Paging, Sorting, Filtering
Content discussed :
- render angular material table from a list
- display processing data - no data & loading data
- implement paging, sorting and filter operation
- customize filter operation of angular material data table
#AngularMaterial #Angular #CodAffection

Пікірлер: 167
@CodAffection
@CodAffection 6 жыл бұрын
goo.gl/bPcyXW : Buy me a Coffee. bit.ly/2Z41yM0 : Next Part goo.gl/3VQn29 : Prev. Part bit.ly/2KQN9xF : More Angular Tutorials bit.ly/3Ktqess : MEAN Stack CRUD bit.ly/47yygKq : (Angular & .Net Core API) Tutorials
@chinmaypadsalgi5868
@chinmaypadsalgi5868 5 жыл бұрын
Hello, thank you for the video. I am learning angular watching your videos. I am a beginner. I have some queries. Need to contact you.
@MajdAA
@MajdAA 4 жыл бұрын
thank you, I've been struggling with a little problem for the whole day until i found your video
@TheAJMarketing
@TheAJMarketing 6 жыл бұрын
This is an extremely underrated channel with really high quality content. The way you explain each & everything is amazing, that's how one should be teaching. Love from Pakistan
@afrikanking4022
@afrikanking4022 5 жыл бұрын
So I decided to forget about Vue JS , Php and Java to focus entirely on DotNet Core and Found CodeAffection. Thank you so much you have made my life super exciting I love you man. Keep doing the good work.
@stevehoff
@stevehoff 5 жыл бұрын
If you're doing it to find a job, you're on the right path. LOTS of enterprise level jobs for dotnet / angular.
@afrikanking4022
@afrikanking4022 5 жыл бұрын
@@stevehoff Yes its to find a Job as a dotnet developer. But id like to start off by conducting dotnet workshops
@PIMVid
@PIMVid 2 жыл бұрын
Best channel coding tutorial. Subscribed!!!
@kiddapocalypse
@kiddapocalypse 6 жыл бұрын
i love how you go through some errors and how you walk us through them especially during the element | json part. I personally think one of the best ways to learn coding is through finding solutions to errors.
@CodAffection
@CodAffection 6 жыл бұрын
thanks for your kind words :)
@CharlesOllavo
@CharlesOllavo 4 жыл бұрын
Thank you for all your tutorials free, I know you take time to do this, so this away I will buy a coffee for you.
@CodAffection
@CodAffection 4 жыл бұрын
Thanks for your compassion. it really motivates me to keep making more videos. please subscribe to the channel if you haven't already.
@ashtonuranium2994
@ashtonuranium2994 3 жыл бұрын
33:15 ~ 35:46 if you somehow face error on the loading out the department using [name]. Go to your firebase -> open back your employees -> change the every department value from 1,2,3,4 -> abc1 (or either abc2, abc3 or abc4). Surely can work!!
@andreimihailescu9213
@andreimihailescu9213 3 жыл бұрын
Thanks. This worked.
@ashtonuranium2994
@ashtonuranium2994 3 жыл бұрын
@@andreimihailescu9213 you're welcome
@somvanshidhruv
@somvanshidhruv 3 жыл бұрын
I'm getting the following error - TypeError: Cannot read property 'name' of undefined at DepartmentService.getDepartmentName In firebase i have departments and under that there is abc1 abc2 abc3 abc4. What should I do. Didn't get your comment.
@exvexv7361
@exvexv7361 5 жыл бұрын
I want to use mat table for web api, so please make a vdo on how to use mat table for data coming from web api.
@pvsasirekha1
@pvsasirekha1 2 жыл бұрын
your way of teaching enriching learners
@sleepingplanet
@sleepingplanet 5 жыл бұрын
Your videos are extremely helpful. Please continue to flesh out this firebase application. Everything you are doing makes sense and is the best source of information available.
@CodAffection
@CodAffection 5 жыл бұрын
Glad you found the video helpful, thanks for your wonderful feedback.
@yonathangutierrez1733
@yonathangutierrez1733 4 жыл бұрын
in ViewChild add {static: false}... in new versions expects two arguments
@theHouseOfLofi
@theHouseOfLofi 5 жыл бұрын
I've been watching a lot of your videos and all of them are so helpful, well structured and explained in an easy way. Keep on doing this excelent work mate !
@CodAffection
@CodAffection 5 жыл бұрын
Glad you found my works helpful. thanks for the support.
@maheshrokade5
@maheshrokade5 4 жыл бұрын
best video to understand the mat-table.....thank you so much
@CodAffection
@CodAffection 4 жыл бұрын
Glad it was helpful!
@techystudio2899
@techystudio2899 5 жыл бұрын
Subscribed because of nice teaching style + good content - Keep doing this
@CodAffection
@CodAffection 5 жыл бұрын
thank you, I really appreciate that.
@sniperalex117
@sniperalex117 5 жыл бұрын
Finally I found out how to use Sort and Paginator on (external) json data. Thank you
@CodAffection
@CodAffection 5 жыл бұрын
Glad you found the video helpful.
@TheEntium
@TheEntium 5 жыл бұрын
Thanks for your help brother sorting, pagination and filtering is getting so easy in angular material ..
@CodAffection
@CodAffection 5 жыл бұрын
yes it is.
@vidyasalimath6177
@vidyasalimath6177 2 жыл бұрын
How to Insert row to a specific position or for example If I have selected the 3rd row and click on add button then row should be inserted to the 4th row.Thanks in advance!
@ponnip8307
@ponnip8307 5 жыл бұрын
Helpfull one..can you post vedio for customising more than 1 theme which will affect whole project
@petermuthiks
@petermuthiks 4 жыл бұрын
This tutorial was really helpful to me. very clear and straight forward. Can you have a video to populate a material table from a web api with mysql database?
@boopathisomasundaram147
@boopathisomasundaram147 3 жыл бұрын
Its very useful video,Thanks
@girmamoges941
@girmamoges941 4 жыл бұрын
Why have you used Firebase ? Why not SQL express local host. *** I can say your examples are excellent and detailed. excellent with flying colors.
@hirushafernando7546
@hirushafernando7546 3 жыл бұрын
Thank you for this video. It was very helpful to me
@viniciussantosaguiar9543
@viniciussantosaguiar9543 3 жыл бұрын
One from the best ever vídeos!
@noorulain9468
@noorulain9468 5 жыл бұрын
This tutorial is really helpful but that example code data services are not working. Any solution?
@themysteryman-e2j
@themysteryman-e2j 4 жыл бұрын
Thank you veryy much. You are GREAT. Appreciate your hard work
@kingstdz
@kingstdz 2 жыл бұрын
Hi thanks for tuto, is there this example on angular 14 any proposition i ll apreciate thanks
@juanchox0929
@juanchox0929 5 жыл бұрын
Thank you! I love your videos, they help me with a project i'm working in :)
@CodAffection
@CodAffection 5 жыл бұрын
Glad you found the video helpful. hope I can make more helpful tutorials like this.
@mithunkv8749
@mithunkv8749 2 жыл бұрын
how to add sorting to instead of ?
@pedrocastillo9143
@pedrocastillo9143 5 жыл бұрын
Hello everybody. Is possible to do a mat-table with many elements per row like a gallery? Thank you
@studymaterial8383
@studymaterial8383 2 жыл бұрын
can we set initial value of items per page different for different variable
@riyazbasha9776
@riyazbasha9776 6 жыл бұрын
Sir one video on creating dynamic menu navigation please..
@sarithakonanki7901
@sarithakonanki7901 3 жыл бұрын
@codeAffection hey, in that sorting not showing correct order of sorting, can u see that?
@berfimkorkmaz9865
@berfimkorkmaz9865 2 жыл бұрын
Great tutorial :) I want to ask that how can I add new row like footer to set sum of the filtered or non filtered number datas ?
@probirroy6874
@probirroy6874 2 жыл бұрын
There is any chance to hide the first column of mat-table with angular?
@aakhashs5586
@aakhashs5586 5 жыл бұрын
Thanks bro.It help me to clear ERROR
@RajuSharma-po2rt
@RajuSharma-po2rt 4 жыл бұрын
thnks for your videos , its really helpful
@lk2986706we
@lk2986706we 6 жыл бұрын
this tutorial is really helpful for me, thanks!!
@CodAffection
@CodAffection 6 жыл бұрын
glad you found the video helpful.
@akhilpatil455
@akhilpatil455 4 жыл бұрын
Hey your video tutorial was awesome. Will you please help me out how to add dates in mat-table with proper formatting? Because I am unable add date in dynamic binding data table with proper formatting.
@jaydeepnayak5197
@jaydeepnayak5197 4 жыл бұрын
Awesome !!..Great Tutorial Thanks a Lot.
@udayvardhane1502
@udayvardhane1502 3 жыл бұрын
Hi, after create, the popup closes, but the table is not reloading ? we are using api call to get the data. please help!
@clarkjason2003
@clarkjason2003 5 жыл бұрын
Hi, This is client side Paging, Sorting and Filter(?) a server side version would be most helpful :-)
@SAAMY_1414
@SAAMY_1414 3 жыл бұрын
Why hireDate value is not getting saved to Database ?
@mizanrahman7287
@mizanrahman7287 4 жыл бұрын
Can not show department name in table. no error in debugger console but error in browser console is "Cannot read property 'name' of undefined". Need help.
@dilshadahmad0201
@dilshadahmad0201 4 жыл бұрын
Why hireDate is not being inserted in the firebase database? Initially when you inserted the first employee the hireDate was not inserted. Now the hireDate is being shown inserted. How did you do this? Kindly tell I am stuck at this juncture. Thanks
@flexir3854
@flexir3854 3 жыл бұрын
Very good content cant find the backend DB
@muhammadahmed1890
@muhammadahmed1890 5 жыл бұрын
Please add a picture section to upload the picture to firebase and retrieve it.Thanks
@seattlemusic5788
@seattlemusic5788 6 жыл бұрын
Thank you for great tutorial. Do you have solution for this situation like received data in different format like that { "cars": [ { "name": "dodge", "description": "Faster and aggressive car ", "price": 20000, "inventoryID": "ddg-9367", "stock": true }, { "name": "chrysler", "description": "Red with yellow strips car ", "price": 30000, "inventoryID": "chr-3498", "stock": false }]}
@harithkhan1631
@harithkhan1631 6 жыл бұрын
Very easy to follow. Thanks a lot for the tutorial =)
@CodAffection
@CodAffection 6 жыл бұрын
Thanks for the comment.
@nadirsiddiqui9559
@nadirsiddiqui9559 4 жыл бұрын
please help regarding showing department name using web api core,, thanks in advance.. I am following all your angular videos..
@alvesluk
@alvesluk 5 жыл бұрын
Can you do a tutorial of how to store the data in mysql? I know you've done with firebase, but I don't know the way to do with MySQL.
@fatihhgocer
@fatihhgocer 5 жыл бұрын
It works. Good Tutorial !
@arifhossain7633
@arifhossain7633 4 жыл бұрын
I can't update material table while adding or updating employee because material table in employee-list component whereas we did add or update operation in employee component. how could I update the material table after add or update record?
@federicofigueredo9985
@federicofigueredo9985 5 жыл бұрын
You´re god my friend. Excelent explanations. As soon I get a developer job I ´ll donate generously.-
@CodAffection
@CodAffection 5 жыл бұрын
Thank for your wonderful feedback!. I appreciate your future support.
@mounatabarki1731
@mounatabarki1731 3 жыл бұрын
how the dataSource refresh automatically after update, delete, add operations!!!!
@kevinnava4376
@kevinnava4376 4 жыл бұрын
You are the BOSS
@rannajeesharma9224
@rannajeesharma9224 5 жыл бұрын
Hi I am using the angular 8 and angular material design. But as your vedio i am not able to map the data into grid. Kindly suggest.
@kumarshree3970
@kumarshree3970 5 жыл бұрын
Hi...can we do column resizing using mat-table??
@ilhamefendy9868
@ilhamefendy9868 6 жыл бұрын
this is a truly great tutorial, if you don't mind, I would like to request you to create this using firestore database. thank you so much
@CodAffection
@CodAffection 6 жыл бұрын
Yes, I have to. thanks for the suggestion.
@GaabrielRoodriz
@GaabrielRoodriz 5 жыл бұрын
I have a problem with including the getDepartamentName method. With my return return _.find (this.array, (obj) => obj. $ Key === $ key) .name; I get an error saying there is no name, but it is in my database like yours
@afrikanking4022
@afrikanking4022 3 жыл бұрын
I am getting this error in Angular 10 TS2339: Property 'form' does not exist on type EmployeeComponent the form property is declared inside the Service and called in the Employee.component.html
@michaeliziken3540
@michaeliziken3540 5 жыл бұрын
I thought you would use ngif to hide the loading indicator
@berkecandincer9925
@berkecandincer9925 3 жыл бұрын
Thank you so much
@bonganinyoni4992
@bonganinyoni4992 5 жыл бұрын
Thanks this was helpfull, is it possible to get a video on how to connect this to SQL Server, Thanks
@OnlineZiggasa
@OnlineZiggasa 4 жыл бұрын
I need a video from you "User Management system" Like Authentication and Authorization And Also Token , with Web API and Angular .Advance Thanks Brother.
@CodAffection
@CodAffection 4 жыл бұрын
sure.
@amalabid9512
@amalabid9512 3 жыл бұрын
thanks fro this video, how do i do this with asp.net i just need to do this but get data from asp.net. CodAffection i need a help please
@afrozjahamalik7986
@afrozjahamalik7986 2 жыл бұрын
Footer part is not working properly What to do
@rahulvasantborde243
@rahulvasantborde243 5 жыл бұрын
We can’t complete this transaction. The recipient has exceeded the receiving limit and must provide more info to lift the limit. PayPal error
@khusikar676
@khusikar676 2 жыл бұрын
Hiii anyone plz help me????? On mat table after filter by date-range my pagination and sorting is not working..... Plz help meeeeee
@Real_Good_Joe
@Real_Good_Joe 4 жыл бұрын
Does anyone know how to make the paginator display clickable pages (numbers 1,2,3...100 for example)?
@denisentanas.brahmana6411
@denisentanas.brahmana6411 3 жыл бұрын
using data from backend api please
@karenjang5201
@karenjang5201 3 жыл бұрын
excellent contents!!!
@marcelmaragall7817
@marcelmaragall7817 3 жыл бұрын
We all love you.
@cristiboanta2499
@cristiboanta2499 3 жыл бұрын
very good!
@devallasaicharan
@devallasaicharan 4 жыл бұрын
I dont have unique IDs coming from back end. How can I create a unique ID in angular?
@pritpalkaur5582
@pritpalkaur5582 5 жыл бұрын
You are awesome 👏🏽 I
@PraveenKumar-cx6hn
@PraveenKumar-cx6hn 5 жыл бұрын
I am getting error in table footer. compiler.js:485 Uncaught Error: Template parse errors: 'mat-footer-cell' is not a known element: 1. If 'mat-footer-cell' is an Angular component, then verify that it is part of this module. 2. If 'mat-footer-cell' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. (" [ERROR ->] Loading data...
@VIjayKumartheh2o
@VIjayKumartheh2o 5 жыл бұрын
Did you resolve above issue, if Yes, please tell me how!!
@AbhishekKumar-vl3cb
@AbhishekKumar-vl3cb 6 жыл бұрын
I'm getting error while ngOnInit(){ this.service.getEmployees(). subscribe... } Error: 'subscribe' doesn't exist on type '(events?: ChildEvent[ ] => Observable......
@jyotigarg9447
@jyotigarg9447 5 жыл бұрын
i want to ask that what have you done with date in my database date column is not visible
@gurumanchiharishbharadwaj4771
@gurumanchiharishbharadwaj4771 3 жыл бұрын
When I run ng serve -o, I am getting the below error ERROR in node_modules/angularfire2/database/interfaces.d.ts(2,26): error TS2307: Cannot find module 'firebase'. node_modules/angularfire2/firebase.app.module.d.ts(2,79): error TS2307: Cannot find module 'firebase'.
@nadimalmas2725
@nadimalmas2725 4 жыл бұрын
I am getting the error "TypeScript Error: list.map is not a function ". Please help me
@abhijeetshikharvlog1444
@abhijeetshikharvlog1444 5 жыл бұрын
Why my table data is black background color
@lts8683
@lts8683 4 жыл бұрын
you have not implemented pagination with server-side
@bojan705
@bojan705 4 жыл бұрын
Heyy, can i somehow edit the amount of items per page. Say the length of items is 22 and i want each page to show a predetermined number of items (i have a title and sub headers sort of config) with an array ? I've been googling for the past 3 days and have found nothing close to what i need.. :(
@prasad3673
@prasad3673 5 жыл бұрын
sir i am using firebase to store some data, date of birth is one of them but when i retrieve that it shows in seconds ...can you make a video to see proper date
@souvikpodder7187
@souvikpodder7187 6 жыл бұрын
I want to sort my table data based on date and time but the default mat-sorter is not sorting the date. Can you please help me that.
@CodAffection
@CodAffection 6 жыл бұрын
how about this : stackoverflow.com/a/49832720/4133590
@bottleneck1330
@bottleneck1330 4 жыл бұрын
sir lodash is not working. i'm working with angular9
@ionictest3320
@ionictest3320 5 жыл бұрын
how to refresh the dataTable when new data is added to datasource
@anandhukr1607
@anandhukr1607 5 жыл бұрын
Hi all, I'am using angular7 and material design 8(Is there any problem with versions!), I have an error- Could not find column with id "userId" userId is my field in matColumnDef
@subrataroy6362
@subrataroy6362 6 жыл бұрын
very helpful...thanks
@CodAffection
@CodAffection 6 жыл бұрын
you are welcome :)
@xinyi8279
@xinyi8279 4 жыл бұрын
How do i do all these in Angular 8 instead?
@DragonsT
@DragonsT 5 жыл бұрын
To hear u so difficult, but tutorial is really helpfull
@CodAffection
@CodAffection 5 жыл бұрын
I understand, working on it. thanks for the feedback.
@johnnyroberto
@johnnyroberto 4 жыл бұрын
excelent. tanks
@vaibhavjain8461
@vaibhavjain8461 5 жыл бұрын
nice explanation
@xenon1666
@xenon1666 4 жыл бұрын
getDepartmentName($key){ if($key == "0") return ""; else{ return _.find(this.array, (obj) => {return obj.$key == $key; })['name']; } } //error: Cannot read property 'name' of undefined at DepartmentService.getDepartmentName i am getting the following error.. I have written exact code as of yours.
@anshumanrout4938
@anshumanrout4938 5 жыл бұрын
core.js:15724 ERROR TypeError: Cannot read property 'name' of undefined at DepartmentService.push../src/app/shared/department.service.ts.DepartmentService.getDepartmentName (department.service.ts:31) Hii ,After integrating successfully firebase with angular still I am getting above error frequently while retriving department name from firebase DB .Why it's happening i don't know .In firebase db also i have given 'name' property and there is no spelling mistak.Still this type of error is showing.So please guide me how to resolve this error.I tried everything but unable to resolve.
@วงศ์ไกรจันทะจิต
@วงศ์ไกรจันทะจิต 5 жыл бұрын
very good leaning bro
@CodAffection
@CodAffection 5 жыл бұрын
welcome. keep learning and sharing.
@g.m.nazmulhossainsomrat3428
@g.m.nazmulhossainsomrat3428 5 жыл бұрын
Really Awesome :)
@CodAffection
@CodAffection 5 жыл бұрын
glad you found this angular material video useful.
@nisarahmad3370
@nisarahmad3370 5 жыл бұрын
The CSS file are empty while downloading the project ...any source code ?
@tareqelbawab469
@tareqelbawab469 5 жыл бұрын
how i can fix this message : RROR TypeError: "lodash__WEBPACK_IMPORTED_MODULE_3__.find(...) is undefined"
Angular Material Popup Dialog & Model
21:17
CodAffection
Рет қаралды 241 М.
Angular Sorting and Filtering Data - Without Any Libraries
24:11
Monsterlessons Academy
Рет қаралды 8 М.
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 125 МЛН
Je peux le faire
00:13
Daniil le Russe
Рет қаралды 22 МЛН
Angular Material Tutorial in One Video
2:12:21
CodAffection
Рет қаралды 43 М.
Angular Material Table - With Sorting and API Data
28:15
Monsterlessons Academy
Рет қаралды 13 М.
Angular 7 CRUD with Web API
1:10:47
CodAffection
Рет қаралды 404 М.
Angular Material Confirm Dialog
15:05
CodAffection
Рет қаралды 75 М.
Angular Material Data Table Tutorial
21:11
Academind
Рет қаралды 253 М.
Angular 8 Inline Table Editing with Asp.Net Core Web API
1:40:40
CodAffection
Рет қаралды 92 М.
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 125 МЛН