Hello I have view vMain where I put data table DataTurbine.
I set a button delete on vMain. When user click on delete button, a popup pDelete is open to confirm user if he want delete data.
on popup pDelete, I have 2 button, YES and NO
I can delete , but I would like reflesh data of DataTurbine when I click on button YES of popup pDelete.
If there is not popup to cOnfirm user, I can refresh DataTurbine using
table = event.source.parent.parent.getComponent('DataTurbine')
system.db.refresh(table,'data')
How can I refresh data when I click on button YES of popup pDelete ?