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 a command to clear all data in the table #934

Open
TE-Radium opened this issue Feb 28, 2024 · 0 comments
Open

Add a command to clear all data in the table #934

TE-Radium opened this issue Feb 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@TE-Radium
Copy link

Problem

Try to find a convenient way to clear all table data.

Solution

Add a command to clear all data in the table.

Additional details

Only data rows are deleted, other data (header rows, filters) should be retained.

That means only removing the .model.rows[] (jq) part of the JSON.

@TE-Radium TE-Radium added the enhancement New feature or request label Feb 28, 2024
42ama added a commit to 42ama/obsidian-dataloom that referenced this issue May 9, 2024
+ Added "Clear all rows" command to MoreMenu. After clicking and confirming the action, the system will clear all rows in the table.
+ In order to be able to use text variant, added passing of text variant through MenuItem to Text
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

No branches or pull requests

1 participant