Categories > TinyButStrong general >

Grouping Not Displaying All Data

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Trent
Date: 2005-04-10
Time: 23:27

Grouping Not Displaying All Data

I'm having a slight problem with Grouping my data.  When I use the following code in my template it only displays "roster_name" and "roster_squad".  It won't display "roster_country" for some reason.  All of the fields have data in them so I'm sure I'm just off by one line or so in my Template HTML.

<table width="500" border="0" align="center" cellpadding="0" cellspacing="1">
  <tr class="header_cell">
    <td bgcolor="#CFE7CF" class="header_cell">[roster.roster_name;block=tr;headergrp=roster_name]</td>
  </tr>
  <tr>
    <td class="cell_body">[roster.roster_position;block=tr]</td>
  </tr>
  <tr>
    <td class="cell_body">[roster.roster_rank;block=tr]</td>
  </tr>
  <tr>
    <td class="cell_body"><p>[roster;block=tr;splittergrp=roster_name] </p>     
    <hr></td>
  </tr>
</table>
By: Trent
Date: 2005-04-10
Time: 23:28

Re: Grouping Not Displaying All Data

Is it possible that since I've left out the "footergrp" tags that I'm having this problem?
By: Skrol29
Date: 2005-04-11
Time: 17:10

Re: Grouping Not Displaying All Data

Hi,

I can't see no "roster_squad" or "roster_country" in your snippet. So those fields won't be displayed.
But another think is that "roster_position" and "roster_rank" are in two diffrent sections, so TBS will display alternatively the one and the other.
If you want to diplsy both on two rows, you have to code:
  <tr>
    <td class="cell_body">[roster.roster_position;block=tr;extend=1]</td>
  </tr>
  <tr>
    <td class="cell_body">[roster.roster_rank]</td>
  </tr>