Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

customizable async threshold #93

Merged
merged 1 commit into from
Jul 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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