I think I fixed the bug (https://github.com/monarch-initiative/PhenoteFX/issues/34). The problem is that calling getRow() from a table cell may give you an incorrect row item. The change made here is to call getIndex() to get the index of underlying data and then retrieve data from the index. I am not confident that I understand why it does that, but I think it has something to do with how JavaFX binds data to physical rows (when you scroll, a row may have a new data rendered there(I think it is the reason why getRow returns a wrong item)). @LCCarmody let me know if you still see bugs (or new bugs due to the fix).
I think I fixed the bug (https://github.com/monarch-initiative/PhenoteFX/issues/34). The problem is that calling getRow() from a table cell may give you an incorrect row item. The change made here is to call getIndex() to get the index of underlying data and then retrieve data from the index. I am not confident that I understand why it does that, but I think it has something to do with how JavaFX binds data to physical rows (when you scroll, a row may have a new data rendered there(I think it is the reason why getRow returns a wrong item)). @LCCarmody let me know if you still see bugs (or new bugs due to the fix).