Skip to content

Infragistics Community Forum / Web / Ignite UI for Angular / Refresh grid data after row is deleted

Refresh grid data after row is deleted

New Discussion
Shobhana Suara
Shobhana Suara asked on Nov 20, 2020 7:35 AM

I am using Igx data grid.

Requirement : Refresh the data in grid after row is removed on click of delete button. We are using API to remove the selected row.

Could you please provide a stackbliz sample for the same. Please help ASAP.

Thanks

Sign In to post a reply

Replies

  • 0
    元喜 中江
    元喜 中江 answered on Nov 2, 2020 5:00 AM

    Hello Shobhana

    Thank you for your post.

    I made a sample to delete for a specific row.
    https://stackblitz.com/edit/igx-grid-delete-row-cdr?file=src/app/grid/grid-row-editing-sample/grid-row-editing-sample.component.ts
    This sample seems to process proper data.
    Do you use another way to delete the row?

    I used the deleteRow method.
    https://jp.infragistics.com/products/ignite-ui-angular/docs/typescript/latest/classes/igxgridcomponent.html#deleterow

    Sincerely,
    Motoki

    • 0
      Shobhana Suara
      Shobhana Suara answered on Nov 2, 2020 3:20 PM

      Hello Motoki,

      I am using a API call to delete a row but the grid is not getting updated with the latest data. How can i achieve the same?

      • 0
        元喜 中江
        元喜 中江 answered on Nov 4, 2020 2:58 AM

        Hello Shobnana
        I am not sure what is the difference between our situations.
        Could you consider providing us a sample for reproducing this issue?

        Thanks in advance.

  • 0
    元喜 中江
    元喜 中江 answered on Nov 20, 2020 7:35 AM

    I am sorry, I don't have knowledge of CDT.
    But if it provides the API to do CRUD and if the data service could prepare properly, it supposed to work.

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Shobhana Suara
Favorites
0
Replies
4
Created On
Nov 20, 2020
Last Post
5 years, 3 months ago

Suggested Discussions

Created by

Created on

Nov 20, 2020 7:35 AM

Last activity on

Feb 19, 2026 4:19 PM