# Actions
Cell template context includes actions
field, which is a combined set of column and row actions.
Action is just a function which can be used as an event handler in a custom template.
Usually the actions come from the options/plugins (i.e. sorting, selection), but you can attach your custom actions as well.
function onColumn(col){
if (col.field == 'id'){
col.actions.showAlert = () => alert('...'); // onClick={actions.showAlert}
}
}