I have a table on which I defined an action "Edit". When clicked the modal window is opened and the data of the table.selectedRow is visualized partially. Some properties of the row should not be edited by the user.
Furthermore, four properties are controlled by "OrderId". When editing OrderId and validation ran successfully, a query is run to fetch the vin/plate/make/model bound to that particular order.
I then want that when that query has run, the results update the modal/selectedRow.
I've tried the following approaches without success:
- referencing the inputs on the form and use setValue
- referencing the inputs on the form and use the value properties
- referencing the selected row directly and use the value properties
After adding some console logging I could see that the query as well as the javascript is run. Only after calling 'setValue', the actual content of the control is unchanged.
Neither of these approaches actually sets the data and shows it in the modal.