blacksmithgu / obsidian-dataview Public
generated from obsidianmd/obsidian-sample-pluginNew 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
Omit "File" column in TABLE results #102
Comments
|
I will add a quick-fix hack for this by allowing you to write which will render field in place of 'File'. In the long run, I will add a configuration option for it. |
|
That works for me! |
|
An immediate workaround is to |
|
That's true, the problem I had with that is that this doesn't work:
|
|
Correct! |
|
I ran into this problem also, and one thing that was confusing was that in example on the obsidian-dataview README, the File name has the column Name, not File, and I don't see anything in the documentation explaining how to rename it.
One issue with this proposed solution is that it doesn't allow naming the column, for example, if the field is "name" and I want the column heading to be "Name". My preferred fix would be to find a way to disable the column entirely. Then any field, with any heading, could be in the first column, and if we still want a file name, we can add |
|
It appears that we now have full control over which columns to display with |
|
I think there should be an option to toggle whether show the File column or not. |
|
@rxian Can you point to the documentation for that? I looked but couldn't find it. Thanks. |
Its the Dataview JavaScript API: https://blacksmithgu.github.io/obsidian-dataview/docs/api/intro |
|
This is now possible via |
|
For anyone else who was, like me, looking for the "rename the |
|
@robmiller Thank you!! This is exactly what I was looking to do. The "File" title was truly annoying as a default, so thanks for the workaround. |
|
You can also change the default "File" title in the Dataview settings. |
|
Building on @robmiller's comment, in case this of use to anyone else, here's a snippet to keep the file link but change display text to another the values of another column ( Or an implicit field: |

As the title said, I would love a way to omit the "File" column in the result of a TABLE query.
My notes tend to have pretty long and complex names, and I'd love to use a shorter YAML field to link to the file instead. I would be delighted if there was an option to hide the "File" column.
The text was updated successfully, but these errors were encountered: