v2 Javascript Snippet on button click or row action

Can we call Snippet on Cell?