whether to wrap the table in a div with overflow-x-auto class
list of columns sorted by, each column is a tuple with the column key and direction, e.g. [{:id, :asc}, {:name, :desc}]
the function for generating the row id
the function for handling phx-click on each row
the function for mapping each row before calling the :col and :action slots
the target for phx-click on header columns for sorting
the event name for phx-click on header columns for sorting
the key for sorting the column when phx-click is triggered
the breakpoint for collapsing the column
<:col :let={user} label="Id"> <%= user.id %> </:col> <:col :let={user} label="name"> <%= user.name %> </:col> <:col :let={user} label="Job"> <%= user.job %> </:col> <:col :let={user} label="Favourite Color"> <%= user.favourite_color %> </:col>
the slot for showing user actions in the last table column