Page 1 of 1

JavaFX Tableview

Posted: Thu Aug 27, 2015 8:41 am UTC
by whitewater4562000
Hi,

I am having problems with a tableview I'm using in that when I click add new row it erases all the content that have been entered (edited).
I am creating an itinerary and am trying to make it so the user can just edit the cells to add the content and then add a new entry if required.

Editing is fine, can tab through cells etc and are commited when tab or enter is pressed.

Hopefully I have attached images to try and show what is happening.

initial.png
Initial View

add.png
Add Record to Tableview

edited.png
Edited Cell

additional_add.png
Add a Second Record


Any help would be greatly appreciated.

Re: JavaFX Tableview

Posted: Thu Aug 27, 2015 8:44 am UTC
by whitewater4562000
Posted in the wrong section how do i move to coding?

Re: JavaFX Tableview

Posted: Thu Aug 27, 2015 9:56 am UTC
by Neil_Boekend
You can't. Only mods and gods can. I have notified the mods.

Re: JavaFX Tableview

Posted: Thu Aug 27, 2015 3:27 pm UTC
by whitewater4562000
Problem solved.

Turns out I wasn't commit the edit once it had been completed (binding to the custom class). I assumed when the tab commit happened it did this automatically.
Oh well 3 days of my life I'll never get back.