Action on click row table

When clicking on a record in the table, it performs a default action, okay? So, how can I perform one action or another depending on the state of a certain field?
Was this page helpful?