decaf-dev / obsidian-dataloom

Weave together data from diverse sources and display them in different views. Inspired by Excel spreadsheets and Notion.so.
https://dataloom.xyz/
MIT License
899 stars 32 forks source link

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

Open TE-Radium opened 4 months ago

TE-Radium commented 4 months ago

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.