From 58499ee18a0d2b82438badb7248639c34d5d9507 Mon Sep 17 00:00:00 2001 From: Ben Baumgold Date: Mon, 22 Mar 2021 17:11:32 +0000 Subject: [PATCH] #55 enable multiple row selection by default --- Project.toml | 2 +- src/TableView.jl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index c332fdf..419534c 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "TableView" uuid = "40c74d1a-b44c-5b06-a7c1-6cbea58ea978" -version = "0.6.6" +version = "0.6.7" [deps] Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" diff --git a/src/TableView.jl b/src/TableView.jl index e9b490e..c95791b 100644 --- a/src/TableView.jl +++ b/src/TableView.jl @@ -155,6 +155,7 @@ function showtable(table, options::Dict{Symbol, Any} = Dict{Symbol, Any}(); options[:onCellValueChanged] = onCellValueChanged options[:columnDefs] = coldefs options[:multiSortKey] = "ctrl" + options[:rowSelection] = "multiple" for e in ["onCellClicked", "onCellDoubleClicked", "onRowClicked", "onCellFocused", "onCellKeyDown"] o = Observable{Any}(w, e, nothing)