简体   繁体   English

单击ssrs中的Image时显示Tablix。

[英]Display a Tablix on click of Image in ssrs.

We have one requirement in SSRS where we need to display the tablix on click of the Image. SSRS中有一项要求,我们需要在单击图像时显示Tablix。 By default tablix will be hidden, when user clicks on the Image then we need to show the hidden tablix. 默认情况下,tablix将被隐藏,当用户单击Image时,我们需要显示隐藏的tablix。 Kindly suggest some solution if any. 如果有的话,请提出一些解决方案。 Thanks. 谢谢。

You can toggle the visibility of an object. 您可以切换对象的可见性。 Initially have the visibility property set to hidden, then use the toggleitem property to accomplish what you are looking for. 最初将可见性属性设置为隐藏,然后使用toggleitem属性完成所需的操作。 Instructions are below 说明如下

To hide static rows in a table, matrix, or list: 要隐藏表,矩阵或列表中的静态行:

  1. In report design view, click the table, matrix, or list to display the row and column handles. 在报表设计视图中,单击表,矩阵或列表以显示行和列句柄。

  2. Right-click the row handle, and then click Row Visibility. 用鼠标右键单击行句柄,然后单击行可见性。 The Row Visibility dialog box opens. 将打开“行可见性”对话框。

  3. To set the visibility, follow steps 3 and 4 in the first procedure. 若要设置可见性,请按照第一个过程中的步骤3和4进行操作。

  4. To hide static columns in a table, matrix, or list 隐藏表格,矩阵或列表中的静态列

  5. In Design view, select the table, matrix, or list to display the row and column handles. 在设计视图中,选择表,矩阵或列表以显示行和列句柄。

  6. Right-click the column handle, and then click Column Visibility. 用鼠标右键单击列手柄,然后单击列可见性。

  7. In the Column Visibility dialog box, follow steps 3 and 4 in the first procedure. 在“列可见性”对话框中,按照第一个步骤进行步骤3和4。

  8. Then use the ToggleItem property of the table. 然后,使用表的ToggleItem属性。 Select the table, locate the property in the Properties window and specify the name of the textbox. 选择表,在“属性”窗口中找到属性,然后指定文本框的名称。 If you now render the report you'll notice a little + icon in front of the testingBox content. 如果现在呈现报告,您将在testingBox内容前面看到一个小+图标。
  9. To find out what your textbox is called first select that and look at the bold part in top of the Properties window. 要找出您的文本框是什么,首先选择它,然后查看“属性”窗口顶部的粗体部分。 To change it you can use the Name property. 要对其进行更改,可以使用Name属性。 It's advisable to give it a clear name so you can easily locate it. 建议给它起一个清晰的名称,以便您轻松找到它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM