Table rows often represent an object that you can perform actions on. For example, you might have a table of servers where each row represents a server that can be turned on or off. Instead of making your users click a link that takes them away from the table to perform an action, you can include common actions directly in each table row.
Row actions
How to do it...
Let's say that you have a table with rows that have servers that can be turned on or off, depending on their current state. You want to include both of these actions as part of each table row, so that the user can more easily control their servers without spending lots of time navigating. The buttons also need to change their color and disabled state based...