Kino.DataTable column order and customization #1220
-
Hi folks. Forgive me if this is not the best place to ask this question. I have started playing with LiveBook, and I have discovered There's a Ki.Building.new().apartments
|> Kino.DataTable.new(
keys: [:id, :owner, :area_in_square_meters, :votes_per_thousand],
name: "Apartments",
sorting_enabled: false
) But I get the following output: Also, I think I cannot customize the output further. Like the actual names of the columns, the alignment of each column etc. Is there a better way to go about a more customizable output inside a LiveBook? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey @petros, the columns order was fixed in livebook-dev/kino#150, but it hasn't been released yet. There are currently no options to specify column names or alignment, we may add those in the future, we plan on revising tables with a couple new ideas :) Sidenote: you can also build arbitrary output presentation using JavaScript, through |
Beta Was this translation helpful? Give feedback.
Hey @petros, the columns order was fixed in livebook-dev/kino#150, but it hasn't been released yet. There are currently no options to specify column names or alignment, we may add those in the future, we plan on revising tables with a couple new ideas :)
Sidenote: you can also build arbitrary output presentation using JavaScript, through
Kino.JS
andKino.JS.Live
.