Show and Hide Fields


Show/hide Fields can be used with any field or Container.

If you want to show/hide multiple fields at once, wrap the fields in a the show/hide expression for the container. Hiding fields can be useful. For example, you might have a grid with a 'billing address'field, a 'shipping addressfield', and a " shipping address is the same as billing address' field. If the later is checked, you might then want to hide the entire shipping address part of the grid. Here is the video.

Show/hide expression 

When you define a client-side show/hide expression, you can also specify an animation effect to execute when the target object is shown or hidden. As demonstrated in the image below, when you open the expression builder there is a checkbox ' Animate show/hide '. When this box is clicked, the 'Define Animation' button is shown. The image below shows the dialog that is shown when the button is pressed.

The animation expression is added in front of the show/hide expression and is enclosed in braces ]. It shows the animation effect and duration for the 'show' action and the 'hide' action.

When you examine the expression in the property Grid, it will look something like this:

[Fade,Slow|Fade,Fast]]Region = "MA"