In this chapter we have examined advanced topics in client customization with a focus on JavaScript code and expressions. The tooling for formatting and validation can handle many common needs. For anything not achievable with those methods, custom expressions or functions can be used. The good news for developers is that while there are many areas one can specify such creatures, all expressions and all page functions share the same syntax and context.
We discussed functions, events, and properties of significant importance to customization along the way. The dataOutput
object and onBeforeServiceCall
event of live forms are of common use in live form validation. We also spent some time with the Grid Designer dialog, in which we specify everything about the presentation of the grid contents from display expressions to custom columns.
Finally, we looked at how we can have dynamic page content using createComponent()
and reflow()
. CreateComponent()
allows us to add components to a container...