We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ff4ba5 commit 92a9d3aCopy full SHA for 92a9d3a
src/TableView.jl
@@ -8,7 +8,15 @@ function showtable(t; rows=1:100)
8
"https://cdnjs.cloudflare.com/ajax/libs/handsontable/0.34.0/handsontable.full.css"])
9
data = Observable{Any}(w, "data", [])
10
11
- subt = IndexedTable(keys(t)[rows], values(t)[rows])
+ ks = keys(t)[rows]
12
+ vs = values(t)[rows]
13
+
14
+ if !isa(keys(t), Columns)
15
+ ks = collect(ks)
16
+ vs = collect(vs)
17
+ end
18
19
+ subt = IndexedTable(ks, vs)
20
21
headers = [fieldnames(eltype(keys(t))); fieldnames(eltype(t));]
22
options = Dict(
0 commit comments