Skip to content

Commit

Permalink
Merge pull request #93 from baumgold/async_threshold
Browse files Browse the repository at this point in the history
customizable async threshold
  • Loading branch information
pfitzseb committed Jul 1, 2024
2 parents 8b78efb + ed4bf42 commit 3e5d219
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/TableView.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ function showtable(table;
title::String = "",
height = :auto,
width = "100%",
cell_changed = nothing
cell_changed = nothing,
async_threshold = 10_000,
)
rows = Tables.rows(table)
it_sz = Base.IteratorSize(rows)
Expand Down Expand Up @@ -110,7 +111,7 @@ function showtable(table;
types = schema.types
end

async = tablelength === nothing || tablelength > 10_000
async = tablelength === nothing || tablelength > async_threshold

w = Scope(imports = ag_grid_imports)

Expand Down

0 comments on commit 3e5d219

Please sign in to comment.