When using the Lookup popup on a Edit form I want to have access to all the included columns of the lookup popup grid.
This is posible if you leave the value property of the field empty so the event property includes all the values of the grid. The problem is that you can not initialize the popup with the id value from the database.
e.g.:
lookup popup shows 3 columns : ID, Name , Orgnr
I want to select a row and also use the Orgnr to patch to a form field value.
hope you can help . this will inprove data input quality a lot .
You want to use the entire item in Change event of the DropDownDataGrid? Since you have the selected id you can easily find the item from the array bound to Data.
I'm struggling with the syntax : so instead of ${event.value}.Orgnr I have to use ${data.Orgnr} ? in the change event of the patch ?
And initiating the DropDownDataGrid on the edit form with the value retrieved from database on page load ? how is this done ?
No cons, just pros. You have access to all form components, their properties and events. Converting normal Form to TemplateForm is a single click - both forms share equal features.