|Removing a row affects another row [message #1772277]
||Thu, 07 September 2017 12:06
| Ralf Heydenreich
Registered: July 2009
I've built a NatTable where you can remove a selected row. If I select a complete row (clicking on row header), the row is removed correctly after pressing the delete button. But if I select a cell (edit mode) and then fire the delete button only the last row in my table is removed. I figured out that it has to do with the UpdateDataCommandHandler, which updates all rows by changing an entry in the data layer but I can't find out the mistake. I'm using ListDataProvider as data provider. Any suggestions how to fix it?
An idea to solve this problem is to exit the editing mode if I click on the delete button. But I don't know how I can do this.
[Updated on: Thu, 07 September 2017 12:40]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01807 seconds