# Issue in table row delete perspective

**URL:** <https://forum.inductiveautomation.com/t/issue-in-table-row-delete-perspective/56721>\
**Category:** Ignition\
**Created:** [March 2, 2022, 3:02pm UTC](https://forum.inductiveautomation.com/t/issue-in-table-row-delete-perspective/56721 "2022-03-02T15:02:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![manjuyadav95.m](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@manjuyadav95.m](https://forum.inductiveautomation.com/u/manjuyadav95.m)\
**Post date:** [March 2, 2022, 3:02pm UTC](https://forum.inductiveautomation.com/t/issue-in-table-row-delete-perspective/56721/1 "2022-03-02T15:02:22Z")

</div>

I have created a view with delete icon and rendered it as view in 1st col of the table …row is getting deleted by clicking on it and I have written code on onEditCellStart but after 2 r 3 delete or sometimes single click on remove col is throwing as a component error on a table and console output is shared as below:

```auto
LEVEL_ERROR
message: "TypeError: Cannot read property \'Remove\' of undefined"
line_number: 112

20:24:27.429 [Browser Thread: 64211] ERROR Perspective.Designer.Workspace - level: LEVEL_ERROR
message: "ui.ErrorBoundary: Component error caught in error boundary: {\"componentStack\":\"\\n in S\\n in s\\n in n\\n in div\\n in b\\n in s\\n in n\\n in div\\n in b\\n in s\\n in n\\n in div\\n in b\\n in s\\n in n\\n in div\\n in d\\n in div\\n in div\\n in b\\n in s\\n in n\\n in A\\n in div\\n in DraggableCore\\n in div\\n in m\\n in div\\n in i\"}"
line_number: 12

```

plz help …what can be done to prevent this error and after clicking on remove icon on cell it’s value getting dispalyed as 0 which I didn’t want it to show like that

---

<div class="post-metadata">

**Author:** ![manjuyadav95.m](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@manjuyadav95.m](https://forum.inductiveautomation.com/u/manjuyadav95.m)\
**Post date:** [March 2, 2022, 3:17pm UTC](https://forum.inductiveautomation.com/t/issue-in-table-row-delete-perspective/56721/2 "2022-03-02T15:17:19Z")

</div>

Solved it by writing the same script onRowClick event…Thanks:+1:
