← Back
Table
[intermediate]Stateful Table: fixed-width grid with border modes (:grid|:inner|:none), sort, selection, pagination; keys route through Table.handle_event
Stateful Table: fixed-width grid with border modes (:grid|:inner|:none), sort, selection, pagination; keys route through Table.handle_event
For the full interactive experience:
$ mix raxol.playground
Code
{:ok, table} =
Table.init(%{
id: :playground_table,
columns: @columns,
data: @data,
options: %{
paginate: true,
searchable: false,
sortable: true,
page_size: @page_size,
border: :grid,
header_separator: true
}
})