Is there any way to make some fields of a domain invisible in dynamic scaffolding view?
I found it myself:
We can use the display constraint to achieve this.
source : http://grails.org/doc/latest/ref/Constraints/Usage.html
class {
String notToDisplay
...
static constraints = {
...
notToDisplay(display:false)
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With