---
title: "Discussion on \"Angular material table remove element by index with paginator\" | Hashnode"
description: "Discussion on \"Angular material table remove element by index with paginator\". The easy way to implement this is to take the index of the row and apply the filter or the splice method to the dataSource.\nIdeally we are going to create a click on the delete button and then we are going to get the row index. After that and with th..."
url: "https://hashnode.com/posts/angular-material-table-remove-element-by-index-with-paginator/61d804984b84101d2c3edb79"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Angular material table remove element by index with paginator](https://lifebehindthekeyboard.hashnode.dev/angular-material-table-remove-element-by-index-with-paginator?utm_source=hashnode&utm_medium=feed)

The easy way to implement this is to take the index of the row and apply the filter or the splice method to the dataSource. Ideally we are going to create a click on the delete button and then we are going to get the row index. After that and with th...

Jan 7, 2022 · 2 min read · lifebehindthekeyboard.hashnode.dev  
Read the article

-   [#angular](https://hashnode.com/tag/angular)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Pantelis Papasavvas](https://hashnode.com/@pantpap)

@pantpap · Athens Greece

  
[View profile](https://hashnode.com/@pantpap)

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
