This is a migrated thread and some comments may be shown as answers.

Hiding a Row in a Report Table

2 Answers 294 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
seth
Top achievements
Rank 1
seth asked on 27 Jun 2017, 10:59 PM
I've been having a ton of trouble hiding a row that is supposed to be empty inside a table, but that still shows up in the table when doing the report; I know this can be done using bindings but I'm not entirely sure if I'm implementing them right, I attached an image showing how I did it and I was hoping if anybody could confirm whether I did it right or not... 

2 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 28 Jun 2017, 09:14 AM
Hi seth,

The IsNull function evaluates data, thus you need the expression of textBox5 in the function e.g. IsNull(Fields.X,-1).

About hiding a row without value, you can add a filter to the corresponding row group in the Group Explorer. If the filter criteria is not met, the row will not be shown. With this approach will not only hide the nested TextBox items, but the Table item will not generate a row structure at all for the filtered out records.


Let us know if you need further help.

Regards,
Stef
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Accepted
seth
Top achievements
Rank 1
answered on 05 Jul 2017, 02:32 PM
Thanks I was able to solve this already, turns out the rows have a property called "can shrink" that is set to false by default, which prevented me from shrinking the rows to hide them, but now that I set it to "true" its shrinking them as it should
Tags
General Discussions
Asked by
seth
Top achievements
Rank 1
Answers by
Stef
Telerik team
seth
Top achievements
Rank 1
Share this question
or