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

Add ability to make only certain Tabulator rows selectable #2433

Merged
merged 2 commits into from
Jun 25, 2021

Conversation

philippjfr
Copy link
Member

@philippjfr philippjfr commented Jun 25, 2021

  • Adds selectable='checkbox-single' option to disable (de)select-all in the header
  • Add selectable_rows parameter which accepts a function which should return the indexes of the selectable rows given a DataFrame.

@codecov
Copy link

codecov bot commented Jun 25, 2021

Codecov Report

Merging #2433 (e496acd) into master (87f4a44) will increase coverage by 0.01%.
The diff coverage is 92.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2433      +/-   ##
==========================================
+ Coverage   83.44%   83.46%   +0.01%     
==========================================
  Files         183      183              
  Lines       22639    22679      +40     
==========================================
+ Hits        18892    18928      +36     
- Misses       3747     3751       +4     
Impacted Files Coverage Δ
panel/widgets/tables.py 83.56% <87.50%> (-0.22%) ⬇️
panel/models/tabulator.py 100.00% <100.00%> (ø)
panel/reactive.py 75.00% <100.00%> (+0.03%) ⬆️
panel/tests/widgets/test_tables.py 99.29% <100.00%> (+0.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 87f4a44...e496acd. Read the comment docs.

@philippjfr philippjfr merged commit c930e6e into master Jun 25, 2021
@philippjfr philippjfr deleted the selectable_rowws branch June 25, 2021 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant