Angular Material Tutorial - 31 - Data table Pagination

Angular Material Tutorial - 31 - Data table Pagination

Codevolution

5 лет назад

89,569 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@S-Lomar
@S-Lomar - 04.06.2024 11:24

Thanks for sharing 😍🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩

Ответить
@cameron7303
@cameron7303 - 01.02.2023 22:28

Thank you!

Ответить
@jaynishchauhan730
@jaynishchauhan730 - 23.12.2022 11:45

@ViewChild('empTbSort') sort : MatSort;
@ViewChild('paginator') paginator : MatPaginator;
ngAfterViewInit()
{
this.dataSource.sort = this.sort;
this.dataSource.paginator = this.paginator;
}
Previous code in previous video comments Check Out

Ответить
@fatalskull8954
@fatalskull8954 - 18.11.2022 19:56

My pageSize wont work. It always shows a bunch of data regardless of what option I pick.

Ответить
@vicar-martyr
@vicar-martyr - 07.02.2022 17:17

I love it

Ответить
@anguianojve
@anguianojve - 22.12.2021 02:11

Muchas Gracias me ayudaste mucho con tu video

Ответить
@ashiktm5631
@ashiktm5631 - 09.12.2021 16:02

@ViewChild(MatPaginator, { static: true })
paginator!: MatPaginator;

Ответить
@rajromil5
@rajromil5 - 28.10.2021 11:44

dosen't work on api called data-table. Only works on the very basic dataTable, basically it's just useless.

Ответить
@savin1999
@savin1999 - 04.10.2021 19:08

@ViewChild(MatSort, {static: true}) sort: MatSort;
@ViewChild(MatPaginator, {static: true}) paginator: MatPaginator;

this worked for me

Ответить
@gleitonfranco1260
@gleitonfranco1260 - 15.09.2021 04:51

Too much content in just 3 min :o

Ответить
@maheshbabukalavala6645
@maheshbabukalavala6645 - 01.09.2021 15:44

How to import material.module.ts can anybody explain

Ответить
@TamilComputerTricks
@TamilComputerTricks - 22.06.2021 09:10

How to get current page value
I mean current paginator value.
If I have 1to10pages
Now am in 3rd page number I need that value

Ответить
@madhumitha8713
@madhumitha8713 - 05.06.2021 11:05

I am getting error like paginator does not exist on my userData[ ].How to resolve it?

Ответить
@viplovedev
@viplovedev - 27.04.2021 14:20

Whatever happened to setting up the dataSource.

Ответить
@ruimoreira646
@ruimoreira646 - 24.12.2020 15:54

@ViewChild(MatPaginator) paginator: MatPaginator;

I'm getting paginator not initializer, how can i solve it?

Ответить
@BobMossanen
@BobMossanen - 27.11.2020 21:17

The sort and pagination does not work as shown in this video but filter works fine I am using the following imports import { Component, OnInit , ViewChild} from '@angular/core';
import { MatTableDataSource } from '@angular/material/table';

import {MatSort} from '@angular/material/sort';
import {MatPaginator} from '@angular/material/paginator';

Ответить
@athirajyothishkumar6933
@athirajyothishkumar6933 - 05.09.2020 21:01

If for anyone the sorting or paginator is not reflecting for some reason then try using setTimeOut with ngOninit
setTimeout(() => this.dataSource.paginator = this.paginator);

else assign it inside ngAfterViewInit()

Ответить
@AldoRTX
@AldoRTX - 28.07.2020 03:13

Hi Bro, U know about using two paginator in 1 component? Greetings

Ответить
@anilrai8194
@anilrai8194 - 31.05.2020 10:03

Hi there, thanks for this video, just one thing is can we implement all features in an angular material data table like Dynamic Column Selection, Sorting, Pagination, Column level Filtering, Reordering of Columns, Resizing of Columns, please help me

Ответить
@Real_Good_Joe
@Real_Good_Joe - 25.04.2020 15:28

Does anyone know how to make the paginator display clickable pages (numbers 1,2,3...100 for example)?

Ответить
@maniaccoding2391
@maniaccoding2391 - 03.03.2020 18:32

Sir, Can you please post a tutorial for using Mat-Table with expansion rows. So, we when master data row is clicked, it is expanded with child table rows.

Ответить
@eggyyppt
@eggyyppt - 17.02.2020 18:03

thank you <3

Ответить
@adarshnair9846
@adarshnair9846 - 26.12.2019 12:52

Hi, I am getting an error in ngOnInit() function as Property 'paginator' does not exist on type 'PeriodicElement[]'. How to resolve it?

Ответить
@rubickon
@rubickon - 22.09.2019 19:52

With all due respect, this just copying past the most simple example from API.

Ответить
@sakethravirala7912
@sakethravirala7912 - 25.07.2019 15:47

How to change the text for previous page and next page.
I need Previous and Next as label in place of arrow

Ответить
@upkspraveen
@upkspraveen - 25.07.2019 08:47

can some one help me im unable to find angular material code on github

Ответить
@IqbalAhmed-qk5ix
@IqbalAhmed-qk5ix - 30.04.2019 00:53

Superb sir

Ответить
@tranquillityEnthusiast
@tranquillityEnthusiast - 29.04.2019 16:25

Sir do angular flexlayout tutorial ...

Ответить
@ashishkpoudel
@ashishkpoudel - 29.04.2019 16:24

awesomeeeeeeeeeeeeeeeeeeeeeee

Ответить