Display custom file properties
How to display user defined property instead of modDate or size?
Hi, at the moment this is not a supported feature.
I think the best solution for you right now is to fork Chonky and customise it as necessary.
Can you give me some more details about your use case? What properties do you want to display instead?
I'd really love to see the same. My use case is that we are using a custom asset management (so not a real file based one, with files on disk), with many properties (status (public, draft, etc.), description, tags, etc.).
In my case, when listing file in their list view, I'd like to be able to add/hide columns to show these details.
Hi @rogiervandenberg, your use case is very common, so I'm very keen to add support for it.
That said, I still haven't pinned down the best way to implement this. The obvious solution is to let users provide, say, an array of custom FileData keys they want to display, and then just loop through that in Chonky. The problem here is that Chonky doesn't actually use a real <table> under the hood (because of virtualisation concerns), so it will be hard to get accurate column widths. This will also not work if users want to render some React components inside the table cells.
A more future-proof solution is to let users define their own ListFileEntry/GridFileEntry components, but right now the internal implementation of these components is far too complicated to expect users to reproduce it. I need to make it more modular before people start reusing it.
With the above in mind, I think at this point in time the best solution for your problem is to fork Chonky and customise it as necessary. If you end up doing this and come up with something interesting, please let me know!
I want to nudge for this request. I'd like to be able to show linux file permissions -rw-rw-rw etc. Currently just adding it to the beginning of the file name, but it looks odd in icon mode, ideally it would be only shown in detail view and in its own column.
I have the same usecase as @rogiervandenberg
Is there any movement on this? Our use case is very similar to above - wanting to show some extra metadata (name of the author etc)
I too want to display the user who have created the file. Can anyone please help me
Agree with this issue. Adding custom data columns to list entries would be a really welcome feature.
Is this resolved yet. I also want to show a field "uploaded by". Please let me know if this is gonna be implemented in future.
I have same issue with @RickeyWard. And plus that, the date column is too narrow to display full datetime.