Comments (10)
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.
from chonky.
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?
from chonky.
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!
from chonky.
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.
from chonky.
I have the same usecase as @rogiervandenberg
from chonky.
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)
from chonky.
I too want to display the user who have created the file. Can anyone please help me
from chonky.
Agree with this issue. Adding custom data columns to list entries would be a really welcome feature.
from chonky.
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.
from chonky.
I have same issue with @RickeyWard. And plus that, the date column is too narrow to display full datetime.
from chonky.
Related Issues (20)
- custom action grid mode does not stay active
- Update to latest material ui, fortawesome, etc. HOT 5
- Headless ("unstyled") version of chonky
- Chonky doesn't display icons HOT 1
- Icons size is zero after page transitions in next.js HOT 1
- More control for icons.
- Incorrect context menu position
- Change FileTooBar components' labels
- Upgrade material ui dependency to v5. HOT 5
- AWS S3 Storybook example not working HOT 1
- defaultFileViewActionId is not working
- Allow controlling actions on individual files / folders HOT 1
- failure to get 'open_files' callback on initial double click after page refresh when using +2 browsers in the same page HOT 2
- Search Function
- [thumbnails] change background-size default value HOT 1
- How can I custom the value of search input?
- Typescript: Type issues HOT 1
- Multiple instances: double click bug
- Modify of the style.
- Cannot use FullFileBrowser component (Chonky v2.3.2 with React 18) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chonky.