how to toggle modal in weblock

how to toggle modal in weblock using table button?

Hi, there's an action called toggleModal() that can be used inside actions to toggle the modal, hope this is what you're looking for. 

Hi Jomari,

In my application what i did to call the Modal is something like this.I pass the Modal Id to be displayed when you hit the button. For that use RunJavaScript server action and pass the Modal Id into it. 

Follow the second screenshot. 

Hope it help you.