How to Hide column group in table

1 Answer 86 Views
Report Designer - Web
dang
Top achievements
Rank 1
dang asked on 08 Mar 2022, 08:01 AM

I have some table groups. I would like to hide the dynamic of each column group depending on the user option.

the example I have 3 groups

with 2 checkboxes. 

if check box 1 = tick =>display group 1

if checked 2 box = tick =>display group 2

If I used <TableGroup Name="group28" Visible="True/False"> it can show/hide. But not dynamically

If I used like this. It can not work.

<TableGroup Name="group28">

                      <Bindings>
                        <Binding Path="Visible" Expression="= IIf( Parameters.InclAccessDetails.Value=True,False,False)" />
                      </Bindings>

Does TableGroup not support Visible with expression?

Thanks

Dang Le        

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 10 Mar 2022, 04:29 PM

Hello Dang Le,

Indeed, the Groups do not support Bindings and Conditional Formatting, hence you cannot change their properties dynamically, depending on the data or Report Parameter values.

We have a feature request for the requirement - Introduce Bindings on Report/Table Groups. You may vote for it so that its priority gets increased and you to be automatically updated when its status changes.

The Visible property cannot be set with Expression either.

As a limited workaround, you may try to use a proper Expression to change the grouping of a single table group rather than the visibility of two groups.

Regards,
Todor
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
dang
Top achievements
Rank 1
commented on 14 Mar 2022, 11:38 PM

thank you, I have used visible for each element in the table and it will auto-hide
Tags
Report Designer - Web
Asked by
dang
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or