Jacob EdelmanSeptember 23, 2016 at 9:09 am #2748
I am trying to follow the second example in this article (adding a row to a table using events and a modal)
But when I click the “Add Address” button in my modal, I get this error int he console:
Error in [eventON_CLICK] inline event handling logic for view /Button4 (UID=72)a.log.error.a.log.error @ bpmext.js?build=201603010311:15a.a.executeEventHandlingFunction.a.a.qb @ bpmext.js?build=201603010311:55_instance.btn.onclick @ BPMExt-Control-Button.js?build=201603010311:14
bpmext.js?build=201603010311:15 TypeError: Cannot read property ‘Va’ of null
The on change event for the Add Address button in the modal is:
Any ideas?SPARK SupportSeptember 23, 2016 at 9:57 am #2753
Try removing the ../ from the table control reference. So your code should look like:
-Erick QJacob EdelmanSeptember 23, 2016 at 11:31 am #2756
When I remove that portion, I get this error:
Error in [eventON_CLICK] inline event handling logic for view /Button4 (UID=78)a.log.error.a.log.error @ bpmext.js?build=201603010311:15
bpmext.js?build=201603010311:15 Error: View ‘Table_Addresses’ from view <root> is not found (if it is not loaded yet, this is not an error)Jacob EdelmanSeptember 26, 2016 at 12:48 pm #2771
OK, I got this to work now. I also got an edit row to work with the following code in the event for on row selection:
I was hoping to do all the work client side but had to rely on server side for when the row edit is complete and writing back to the list of addresses BO.SPARK SupportSeptember 26, 2016 at 2:40 pm #2776
We’re glad to hear you got it working.
You must be logged in to reply to this topic.