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

Empty Group Header Section

3 Answers 406 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
AP
Top achievements
Rank 1
Veteran
AP asked on 06 Aug 2020, 05:43 PM

Hi,

       I have a table in group header section. I give the following command in the bin dings of each row of that table.

Visible - IIf(COUNT(1)>0,true,false)

The above expression is working well for table. But still the group header section is generating with empty space.

Which means there are some space above the detail section while preview the report.

I give the same binding for the group header section Visible - IIf(COUNT(1)>0,true,false) 

But it is not work for group header section. What can i do now. Please suggest a solution. Thanks. :-) 

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 11 Aug 2020, 03:15 PM

Hello,

You can hide the group header section by applying a conditional formatting rule for it and using the count built-on function to create the filter.  Then through the style you can set the visibility of the group header (check the attached image).

I hope I was of help.

Regards,


Yana
Progress Telerik

0
AP
Top achievements
Rank 1
Veteran
answered on 16 Aug 2020, 12:44 PM

Hi Yana, in the screenshot, you take a field in IIf. But i can't take any field in my case. So i take COUNT(1). I also tried the  way that mentioned in the screenshot. But it won't works. Please give some other solution.

Thanks,

Arunprasad

0
Accepted
Yana
Telerik team
answered on 17 Aug 2020, 02:18 PM

Hi Arunprasad,

In this case you should take the reverse statement in the conditional formatting rule to hide the group header section: "=COUNT(1) = 0" and then set the Layout Visible to checkbox to unchecked state (it's shown in the attached image).

If you still experience difficulties with this, could you elaborate a little bit more on the scenario? 

Regards,
Yana
Progress Telerik

Tags
General Discussions
Asked by
AP
Top achievements
Rank 1
Veteran
Answers by
Yana
Telerik team
AP
Top achievements
Rank 1
Veteran
Share this question
or