-
Notifications
You must be signed in to change notification settings - Fork 638
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
More Column Types in Table Fields #811
Comments
@josh - This is really great! @brandon - Just FWIW, I think the feelings about this being baked into Craft are right on. I just chatted a client about it, and in the end the feeling was that (in their case) this would touch so much of their data that they'd rather wait for something native. |
SuperTable FTW! But it would be great if it was native! |
FYI - please refer to https://github.com/engram-design/SuperTable, which achieves this by allowing you to pick any installed field to be used in a column! |
I've started altering https://github.com/engram-design/SetTable to handle just this (see https://twitter.com/engramdes/status/573786359539765248). However - it's a fair bit of work, and as Brandon mentions, it's completely overriding the normal behaviour of a table. Although I'd much rather this be a core thing :) |
I made a plugin to add Date/Time columns to Table fields, but didn't find a better way of coding it than basically duplicating the core field an building upon this. https://github.com/carlcs/craft-eventtable Maybe it'd be worth implementing APIs to the base Table Field, so that it gets more straightforward extending it? |
Adding support for non-textual column types would be a drastic change in how Table fields work. But your point about how this could be a solution for many of the Matrix-within-Matrix needs is a good one, so I'm thinking about it :) |
Is there a way or a plugin that allows you to add columns and change column headings from within the entry ? |
@ritagya-meharishi Not that I’m aware of. |
Thanks for replying @brandonkelly! I just found the supercool table maker plugin with which you can create dynamic tables. |
I'd vote for a Dropdown type. I need a Status column with 3+ options. |
@dougstjohn We currently don’t have a way to add settings to the columns (e.g. Dropdown Options), so that’s the holdup. Super Table is a great solution if you need that, though. |
Bump for a dropdown type. I've got a situation where I need a more robust table inside a Super Table and I'm outta luck. |
+1 for dropdown type in tables |
Resolves #811 Signed-off-by: brandonkelly <[email protected]>
Just added support for Dropdown columns for the next 3.2 Alpha release. If you want to help test, change your "require": {
"craftcms/cms": "3.2.x-dev#214a5703149eee33c7569fe045ca38154c345e9b as 3.2.0-alpha.2",
"...": "..."
} Then run After choosing “Dropdown” for a new Table column type, you will need to click the cog icon to edit its available options. |
Hi @brandonkelly, awesome about adding dropdown options to the native table field. I was wondering about the mention of adding the ability to include “assets” or potentially “entries”? I followed closed issues for these requests that lead me here so just wondering if this functionality is planned or whether a couple of FRs should be raised for these now that this one is closed? |
It'd be a great if table fields had a bit more variety in terms of column types.
I think the most critical would be an asset since it's pretty common to have some tabular data includes a thumbnail images.
Honestly, I think a more robust set of columns in Tables would solve for a lot of the cases that lead to conversations about "matrix in matrix." The benefit I can see of using Tables is that the UI's already there and it'd be limited to one level (which seems a bit more practical then endless nesting).
The text was updated successfully, but these errors were encountered: