Hiding specific row in a table | Community
Skip to main content
dariol61886902
Level 2
Nov 20, 2019 4:08 PM UTC
Solved

Hiding specific row in a table

Hi Dears, I write to you because I haven't found any documents that can help me. In practice, I have a table where I insert the positions added by SAP Cloud for customer. Once I generate the summary, however, I need to hide some specific positions (the common factor between these items is that they are not billable, so they should not be in the summary) do u know if it is possibile?

Thanks

Kind regards

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
radzmar
radzmarAccepted solution
Level 10
Nov 21, 2019 5:18 PM UTC

You can add a calculate script to the rows, that checks the value of a specific cell and sets the presence of the row.

this.presence = this.Description.rawValue === "GESTIONE TICKET" ? "hidden" : "visible";

4 replies

dariol61886902
Level 2
Nov 22, 2019 1:16 PM UTC

Thanks Radzmar. Now it works well !!!

Translate
radzmar
radzmarAccepted solution
Level 10
Nov 21, 2019 5:18 PM UTC

You can add a calculate script to the rows, that checks the value of a specific cell and sets the presence of the row.

this.presence = this.Description.rawValue === "GESTIONE TICKET" ? "hidden" : "visible";

Translate
dariol61886902
Level 2
Nov 21, 2019 9:16 AM UTC

Maybe I need to be clearer. I don't have to hide a specific row but I have to hide the itemsthat have specific information in some columns (like cod and description).

This is my table.I have to hide the items that have a specif Cod or Description.

Translate
_Bruce_Robertson
Level 10
Nov 21, 2019 12:11 AM UTC

Hi,

If you table has a row that repeats you can use something like this code;

Table1.resolveNode("Row1[5]").presence = "hidden";

Which will hide the 6th row.

Regards

Bruce

Translate