diff --git a/lib/kino/data_table.ex b/lib/kino/data_table.ex index 433b9b90..d02c4430 100644 --- a/lib/kino/data_table.ex +++ b/lib/kino/data_table.ex @@ -66,7 +66,11 @@ defmodule Kino.DataTable do {data, meta.columns} end - Kino.Table.new(__MODULE__, {data_rows, data_columns, count, name, sorting_enabled}) + inspected = inspect(tabular) + + Kino.Table.new(__MODULE__, {data_rows, data_columns, count, name, sorting_enabled}, + export: fn _ -> {"text", inspected} end + ) end defp normalize_tabular([%struct{} | _] = tabular) do