Stephen, The problem here is that table remembers values for its stamped components for each row. Each row's state is stored in a HashMap-like structure with row key used as a key. After you delete a row from the list (row 2), row 3 has row key "2" because the row key for the list-backed model is just a string representation of the index. I do not think there is a way to clear the stamp state without validation/model update. I believe the only way to fix this issue is to use a model that has consistent row keys, which probably means implementing CollectionModel. You could also take a look at SortableModel implementation (that is what table creates behind the scenes when you use jaav.util.List as a model) and see if getRowKey() may be overridden. Note that you would also need to get setRowkey() to work consistently as well. Hope this helps. Regards, Max Starets Stephen Friedrich wrote: I am desperately trying to get a specific table UI to work - see screenshot. |
- [Trinidad] Table expert, anyone? Stephen Friedrich
- Re: [Trinidad] Table expert, anyone? Gerhard Petracek
- Re: [Trinidad] Table expert, anyone? Stephen Friedrich
- Re: [Trinidad] Table expert, anyone? Gerhard Petracek
- Re: [Trinidad] Table expert, anyone? Stephen Friedrich
- Re: [Trinidad] Table expert, anyon... Rafa Pérez
- Re: [Trinidad] Table expert, a... Gerhard Petracek
- Re: [Trinidad] Table expert, anyone? Max Starets
- Re: [Trinidad] Table expert, anyone? Stephen Friedrich
- Re: [Trinidad] Table expert, anyone? Gerhard Petracek
- Re: [Trinidad] Table expert, anyone? Rafa Pérez