{"content":[{"text":"Hiding Components","bbox":{"left":0.289353,"top":0.087945,"width":0.43414400000000003,"height":0.039497000000000004}},{"text":"You can hide components in a report by using a RenderIf script. Put a script in the RenderIf property \n so that it returns true to show or false to hide the component. You can copy this property into several \n components, if you need to control the visibility of all of them, or if they are in the same band of the \n report, you can group them together and put the RenderIf script on the Group.","bbox":{"left":0.09281,"top":0.165412,"width":0.802281,"height":0.07940599999999998}},{"text":"If the script expression is complicated and may be used in many places, define a variable in the band \n OnRenderBegin and then reference the value in the component's RenderIf.","bbox":{"left":0.09281,"top":0.257837,"width":0.788648,"height":0.03761199999999998}},{"text":"Detail.OnRenderBegin:","bbox":{"left":0.139216,"top":0.33814,"width":0.185585,"height":0.01677899999999999}},{"text":"tooSmall = Amount < 10;","bbox":{"left":0.139216,"top":0.373493,"width":0.200762,"height":0.01677899999999999}},{"text":"Component.RenderIf:","bbox":{"left":0.139216,"top":0.444074,"width":0.17156499999999997,"height":0.01677899999999999}},{"text":"!tooSmall","bbox":{"left":0.139216,"top":0.479301,"width":0.077291,"height":0.01677899999999999}},{"text":"This combination will hide the component if the value of the Amount field (from your DataSource) is \n less than ten.","bbox":{"left":0.09281,"top":0.549882,"width":0.795749,"height":0.03773899999999997}}],"images_bbox":[],"images_bbox_not_text_overlap":[]}