Ability to customize what columns are shown in association context. #802
MrJoy
started this conversation in
Feature requests
Replies: 2 comments 1 reply
-
I see what you mean. I think that your I'll convert this to a ticket for better tracking. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Relatedly, it would sometimes be nice to show a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In this view, you can see that I have vendor displayed on the items list. I would prefer that column only be visible when on the standalone items resource view. There's frequently cases where I want to not display certain fields in an embedded view, or display certain fields only in an embedded view.
One approach to handle this might be to be able to define multiple resource classes that represent a given model, with only one showing up on the sidebar and the remainder being explicitly referenced in the field definitions of other resources.
e.g.
Not sure what a sustainable/maintainable structure for organizing resource classes would be under such an arrangement.
Another approach would be to expand
show_on
/hide_on
, but I feel like that would leave your team with considerably more complex and hard to maintain code, as well as leading to more tangled code on my end. It would have the advantage of minimizing duplication of application-side code in the typical case.Beta Was this translation helpful? Give feedback.
All reactions