Skip to content

Commit ed4bf42

Browse files
committed
customizable async threshold
1 parent 8b78efb commit ed4bf42

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/TableView.jl

+3-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ function showtable(table;
7474
title::String = "",
7575
height = :auto,
7676
width = "100%",
77-
cell_changed = nothing
77+
cell_changed = nothing,
78+
async_threshold = 10_000,
7879
)
7980
rows = Tables.rows(table)
8081
it_sz = Base.IteratorSize(rows)
@@ -110,7 +111,7 @@ function showtable(table;
110111
types = schema.types
111112
end
112113

113-
async = tablelength === nothing || tablelength > 10_000
114+
async = tablelength === nothing || tablelength > async_threshold
114115

115116
w = Scope(imports = ag_grid_imports)
116117

0 commit comments

Comments
 (0)