Is it possible to use afterColumn in Operations ? #904
Unanswered
cdo9
asked this question in
Q&A (Help)
Replies: 1 comment
-
Hey @pxpm I tested it and he is right. I also thought the list closure runs in the setup() before Apart from this, I also found:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, this is my "setupHasStatusDefaults" function code from my "HasStatusOperation" trait :
The column is added, but before any column (first one). Maybe because the HasStatusOperation is loaded before the setupListOperation ? Is there a way to do it after ? I would love to make operations like that to add columns/filters/fields to CRUDs that need it.
EDIT : for now I added ->makeFirst(); to my ID column, so this does the trick to put the field in 2nd
Beta Was this translation helpful? Give feedback.
All reactions