• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

conditinal tag on row of a table

Guest
Nov 08, 2006 Nov 08, 2006

Copy link to clipboard

Copied

does anybody know how you can put a conditional tag on a (single) row inside a table.
I tried it by selecting the row and then applying the conditional tag, but when I generate the chm, the row is still present
but all text is gone (so I have a blank row in my table)...

Does anyone know how I can get rid of this empty row?

Views

345

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 08, 2006 Nov 08, 2006

Copy link to clipboard

Copied

Hi bta_om. As you have discovered, RH has the rather annoying habit of applying the conditional tag to the cell contents but not the cell itself. However this is easily changed by going into the truecode and moving the conditional tag before the rows <td> tag. You'll also need to move the end of condition tag after the <\td> tag. Compile and you'll have what you want.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 08, 2006 Nov 08, 2006

Copy link to clipboard

Copied

Hi Colum.
Thanks for the reply! I kinda figured this out in the mean time..
When you want to remove a complete row this works fine.

In 1 case I still have a problem (but I'll try to work around that...):
the problem is when I have a table with 3 columns and the first column is sometimes merged across rows. This means I have a rowspan property with a specific nr. If you want to hide some of the rows, this means that this number should be different... (value 3 has to become 2 for example if I don't want the val2 row)

This is how it looks more or less:

+-----------+----------------------+
|....text...|..val1=.blabla........|
|...........+----------------------+
|...........|.val2=..blabla........|
|...........+----------------------+
|...........|.val3=..blabla........|
+-----------+----------------------+


The way I work around it now, is by not merging but putting a table inside a table:

+-----------+------------------------+
|...text....|.+--------------------+.|
|...........|.|.val1.=.blabla......|.|
|...........|.+--------------------+.|
|...........|.|.val2=..blabla......|.|
|...........|.+--------------------+.|
|...........|.|.val3=..blabla......|.|
|...........|.+--------------------+.|
+-----------+------------------------+

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 08, 2006 Nov 08, 2006

Copy link to clipboard

Copied

LATEST
If your table isn't very large, create two versions of it. Simply apply different build tags to each version. Voila! Problem solved.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp