This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

Field "readonly", update vs insert

General questions regarding the development with JavaFX UI for JVx.

Field "readonly", update vs insert

Postby nobrega » Wed Mar 11, 2020 5:24 pm

Hi,

Is it possible to set a field readonly when updating but editable when inserting?

Thank you,
nobrega.
nobrega
 
Posts: 14
Joined: Tue Feb 11, 2020 6:40 pm

Re: Field "readonly", update vs insert

Postby johnit » Thu Mar 12, 2020 8:40 pm

Did you try the after row selected event? Use the event to set the column readonly and if the databook is inserting, enable the column?

This should work.
johnit
 
Posts: 45
Joined: Fri Nov 16, 2012 5:58 pm


Return to Development