Table
Table to display a DataFrame
module App
using GenieFramework
using DataFrames
@genietools
@app begin
@out table = DataTable(DataFrame(a = rand(5) , b = rand(5)))
end
@page("/", "app.jl.html")
end
app.jl.html
<q-table :data="table.data" :columns="table.columns"></q-table>
The type of the table
variable is GenieFramework.Tables.DataTable
.