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

Improve the API of ui.table #3525

Merged
merged 6 commits into from
Aug 21, 2024
Merged

Improve the API of ui.table #3525

merged 6 commits into from
Aug 21, 2024

Conversation

falkoschindler
Copy link
Contributor

@falkoschindler falkoschindler commented Aug 16, 2024

This PR attempts to

Most features are inspired by PR #3263, which - unfortunately - introduces a nasty breaking change, because updating rows and columns passed to the initializer cannot be recognized anymore. In contrast to PR #3263, this PR probably won't replace the from_pandas method, because the way it introduces default column parameters won't further blow up the from_pandas API.

Strictly speaking, this new PR doesn't cause any breaking changes. But because it deprecates the current API for adding and removing rows, it targets the 2.0 milestone.


Open tasks:

  • create/update table from dataframe and a list of (default) columns
  • support passing default column parameters only and derive column definitions from rows or dataframe

@falkoschindler falkoschindler added the enhancement New feature or request label Aug 16, 2024
@falkoschindler falkoschindler added this to the 2.0.0 milestone Aug 16, 2024
@falkoschindler falkoschindler changed the title Improve API of ui.table Improve the API of ui.table Aug 16, 2024
@falkoschindler falkoschindler marked this pull request as ready for review August 20, 2024 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants