Hiding Panels

2 Answers 248 Views
Binding Conditional Formatting Report Designer (standalone)
Taras
Top achievements
Rank 3
Iron
Iron
Veteran
Taras asked on 09 Dec 2021, 04:56 PM

I have 3 panels in a report (using Standalone Designer R3 2021).

Corresponding to these panels, I have 3 fields in the data source V1Display, V2Display and V3Display.  The values in these fields are either 0 or 1, with 1 indicating the panel should be displayed.

I've tried different suggestions I've found in older threads and elsewhere to hide the panels based on Conditional Formatting or Binding.

How do I had a panel if its VxDisplay value = 0?

Taras
Top achievements
Rank 3
Iron
Iron
Veteran
commented on 13 Dec 2021, 08:21 PM

Can't seem to get it working with Conditional Formatting but this works for bindings:

2 Answers, 1 is accepted

Sort by
0
Taras
Top achievements
Rank 3
Iron
Iron
Veteran
answered on 13 Dec 2021, 08:28 PM

Answer is in the comment section, repeating here

Can't seem to get it working with Conditional Formatting but this works for bindings:

Neli
Telerik team
commented on 14 Dec 2021, 01:33 PM

Hi Taras,

Basically, we recommend using ConditionalFormatting. I attached a sample report that you can use a further reference.

MasiULLAH
Top achievements
Rank 1
Iron
commented on 29 Oct 2024, 11:19 AM

Hi Neli

can u give any other references to using ConditionalFormatting are Binding to when value is zero it want to hide they occupy they space and when they value is 1 show they particular cell only 

I SHARED IMAGE 

 

Dimitar
Telerik team
commented on 31 Oct 2024, 02:15 PM

The shared image seems to be that of a table. Please keep in mind that when hiding table cells, if there are other visible cells on the same table row, the space will remain occupied so that the tabular structure remains consistent.

With that being said, since you need to check whether the value is zero or one and hide the item in the former case, you can use the following binding:

If you need further assistance, please attach a copy of the report definition and sample data that we can use to preview the report locally, then tell us which item(s) you are trying to hide in the report and we will diagnose what are the possible approaches.

MasiULLAH
Top achievements
Rank 1
Iron
commented on 04 Nov 2024, 05:19 AM

I SAHRED IMAGE IWANT HIDE WHEN IT ZERO BOTH THEY RED BORDER I HIGH LIGHTED WHEN ONE BOX GET VALUE SHOW THEY PARTICULAR BOX ONLY 

Dimitar
Telerik team
commented on 06 Nov 2024, 03:13 PM

Did you try creating the binding on the Visible property for the textbox items as shown in the image of my reply?

I cannot offer more specific solution until seeing the report definition but as said earlier, when hiding some of the cells of a table row, the space will remain occupied unless the whole table row is hidden, plase keep that in mind.

If you need further assistance, attach a zip with the report definition file(TRDP, TRDX or CS) and sample data to preview the report locally.

MasiULLAH
Top achievements
Rank 1
Iron
commented on 07 Nov 2024, 08:58 AM | edited

I binded they value and its hide  but when i hide all they 5 rows and 2 line want to occcupy they space for sno 2 
Dimitar
Telerik team
commented on 11 Nov 2024, 03:56 PM

I am not sure what you mean by saying "2 line want to occupy they space for sno 2", what is sno 2 referring to?

In the attached report, I see that the item textBox43 has the binding from the attached image but that is the only textbox on that row that has such a binding. You have to apply the biding for the other textbox items either individually, for example:

or to all textbox items in the row:

For example, you may hide the whole row when the sum of all fields on that row is null:

 

MasiULLAH
Top achievements
Rank 1
Iron
commented on 28 Jan 2025, 08:06 AM

"How can I get continuous serial numbers (1, 2, 3, 4, etc.) in a grouped table with 12 columns? Currently, the 'Column()' is only displaying 1. How can I generate a proper serial number for the grouped table?"
Dimitar
Telerik team
commented on 29 Jan 2025, 03:53 PM

You may check out my reply in the Serial Number in Reporting | Telerik Forums thread for the answer to this question.
0
MasiULLAH
Top achievements
Rank 1
Iron
answered on 19 Nov 2024, 11:02 AM

 {"ItemList": [
    {
      "type": "object",
      "properties": {
        "SlNo": {
          "type": "string",
          "sas": 1,
          "maxLength": 6,
          "pattern": "^([0-9]{1,6})$",
          "description": "Serial No. of Item"}}
}]}

 

How to display they "SINO" Value in report and how to bind they nested value

   
Ivet
Telerik team
commented on 22 Nov 2024, 10:37 AM

I noticed you asked the same question in a different forum thread. I have replied to your question there so please go to the following link to see my answerDisplaying sum of nested JSON data in a table using Telerik Designer in Reporting | Telerik Forums
Tags
Binding Conditional Formatting Report Designer (standalone)
Asked by
Taras
Top achievements
Rank 3
Iron
Iron
Veteran
Answers by
Taras
Top achievements
Rank 3
Iron
Iron
Veteran
MasiULLAH
Top achievements
Rank 1
Iron
Share this question
or