Hello, I'd like to ask for a future proof safe way...
# help
b
Hello, I'd like to ask for a future proof safe way to add a column to a table in the backoffice GUI. My solution works, but I think it breaks some rules. I overrode
configure
and
prepareData
functions and added my new column, in the CompanyBusinessUnitGui module.
w
That sounds perfectly fine. What rule do you think is broken by your change?
b
This was my first modification, and the naive solution was to override the functions. Was hoping there's a better way.
p
Some Tables have table-extender plugin-stacks. This one not. But the ones with the extender-plugin-stack can very easy become a performance bottleneck. So overriding these two methods is in most cases the way to go (and use the parent whenever possible).
👍 1