Skip to main content
1-Visitor
August 17, 2013
Question

Update table header floats within a table?

  • August 17, 2013
  • 16 replies
  • 2508 views
My authors want to be able to modify the repeating table headers within a
table. For example, there might be a header that included "System, Date
Deployed, Date Support Ends" at the top of the table and at the top of the
subsequent pages if the table continues.

Standard table header float stuff so far.

Now, there might be a section within the table that talks about those three
columns of data for County X. And that should be part of the table header
float that continues. However, when in the middle of the table, it changes
to Country Y (and Country Z and so on), they want the "second" row of the
table header float to update with Country Y and drop Country X.

For example:
Top of table:

System Date Deployed Date Support Ends
Country X (spans all three columns)

On page two you would get:
System Date Deployed Date Support Ends
Country X (continued ...)


Somewhere on page two of the table, this row occurs and replaces the
Country X row in the float:
Country Y


Now, page three of the table starts:
System Date Deployed Date Support Ends
Country Y (continued ...)


Easy, right? Anyone done anything like this?

--
Paul Nagai

    16 replies

    naglists1-VisitorAuthor
    1-Visitor
    August 20, 2013
    Nope. Just your standard table row/entry/para/bold content. I can see
    adding attribute support to row for this. My first thought was to split the
    tgroup as others originally suggested, include the CALIFORNIA in something
    like thead/row/@suppress_in_table="yes" followed by a
    row/entry/para/bold/NorCal and figure out how to suppress the first row but
    add both to the float. But that's all mental so far, I haven't set keyboard
    to DTD or FOSI yet.


    On Tue, Aug 20, 2013 at 4:32 PM, Suzanne Napoleon <
    SuzanneNapoleon@fosiexpert.com> wrote:

    > Is there markup for "Norcal" and "SF Bay Area"?
    >
    naglists1-VisitorAuthor
    1-Visitor
    August 20, 2013
    Again, in my imagination, that second row is still in the thead in the
    second tgroup ... if it wasn't clear.


    16-Pearl
    August 21, 2013
    How about using nested tables? APP supports that too 😛 (sorry couldn't help myself)
    1-Visitor
    August 21, 2013
    Paul,

    I don't know if this is possible.

    You cannot float whatever.txt and change the value of whatever.txt during its scope. The first value continue to be floated.

    I thought a context pseudo-element worked as a float scope, but the little testing I did indicates otherwise.

    You can have multiple floats that stack on top of each other depending on their order in the botfloat/topfloat characteristic. CALIFORNIA could float separately scoped to table. Maybe you could output each tgroup as a gentable placemnt=after with the flagged content coded as the thead.

    Good luck!
    Suzanne



    naglists1-VisitorAuthor
    1-Visitor
    May 22, 2014
    Caroline,
    Maybe this is the discussion you were remembering? I have not implemented
    this although it is my recollection that I tested it and thought it would
    work but then other priorities back burnered it and the authors forgot
    (until they remember, I'm sure 😉 so I can't confirm 100% either way that
    it will solve your problem.


    On Wed, Aug 21, 2013 at 3:39 PM, Suzanne Napoleon <
    SuzanneNapoleon@fosiexpert.com> wrote:

    > Paul,
    >
    > I don't know if this is possible.
    >
    > You cannot float whatever.txt and change the value of whatever.txt during
    > its scope. The first value continue to be floated.
    >
    > I thought a context pseudo-element worked as a float scope, but the little
    > testing I did indicates otherwise.
    >
    > You can have multiple floats that stack on top of each other depending on
    > their order in the botfloat/topfloat characteristic. CALIFORNIA could float
    > separately scoped to table. Maybe you could output each tgroup as a
    > gentable placemnt=after with the flagged content coded as the thead.
    >
    > Good luck!
    > Suzanne
    >
    >
    1-Visitor
    May 23, 2014

    Yes, this is it! Thanks, Paul. I also tried Suzanne's method of using a context pseudo-variable...unsuccessfully :(. But now I can look through this thread again.