It looks like you're new here. If you want to get involved, click one of these buttons!
but then this action becomes the default one when clicking on the listed rows.
$this->data_table->add_action('MEDIA', 'links/media/{id}');
but it won't help. Am I missing something? What is the correct way to do so?
$this->data_table->default_field_action = array('EDIT' => 'links/edit/{id}');
Comments
'table_actions' => array('MEDIA' => 'links/media/{id}', 'EDIT', 'VIEW', 'DELETE'),
The value of the key "MEDIA" can be a string as in the example, or a lamda function.
If you are using the add_action method like you have above, it should be the order in which you add the actions.