10-16-2016 11:50 PM
I have a formtable with some row action. The content of this formtable is dependent on other fields in form, which are filled with some formaction - click on button. Here is a problem - when I click on the button to fill formfields and change the content of the formtable, the formtable is filled correctly, but the row action is disabled. When I click on the button again, the row action is enabled and everything works. It means I have to click twice to enable row action.
What causes this behaviour?
I tried to use something like (at the end of button action):
But it is not working.
Is there any way to catch the event after dependency is resolved in formtable? I guess that I can use enable() function after that event and it should work.
Solved! Go to Solution.
10-17-2016 12:21 AM
you may try with the
event, but sometimes the events are tricky on formtables.
10-17-2016 07:56 AM
I tried to use
IG.vent.on('dependency:resolved' , ...)
but unfortunately, it does not work.
Anyway, thanks for your reply.
10-17-2016 09:44 AM
you might try by subscribing to the change of formTable and enable it there, something like