-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
A common UX with tables is to have clicking anywhere on the row take you to the show page for that item. It would be great if this could be added as an option to exzeitable.
Describe the solution you'd like
One option could be another configuration option when calling use Exzeitable.
For instance,
use Exzeitable,
repo: MyApp.Repo,
routes: Routes,
path: :user_show_path,
action_buttons: [:edit],
row_click_action: [:show], # new field to give an action for clicking on the row
per_page: 20,
disable_hide: true,
query: from(u in User),
pagination: [:bottom],
fields: [
first_name: [],
last_name: [],
type: [function: true]
],
# Optional
debounce: 300Additional context
n/a
Metadata
Metadata
Assignees
Labels
No labels