I have a detail listing where a field is a lookup editor. We want the user to be able to select from the lookup list for a new row, but, for an existing, row not allow a change.
I assumed it would be easy to do this since I am trapping the new row event to initialize the data. However the new row event is fired after all the events associated with the in-place editor creation. I tried changing it after the editor was created, but that does not work.
I have a terrible kludge that gets what I want, but it would be nice if there was someway to know a new row was in process before the in-place edit form was created, so that the properties of the various editors on the form could be set.
I tried capturing key down to get the rowId of the row clicked assuming I could identify that the new row had been clicked before the editor was created. This does not seem to return the rowed that matches the system definition of a new row id.
Let me know if there is any combination of events I can use to set this if it is possible to do this in an in-place editor.
Thanks.