I have a list in Sharepoint that contains a few hundred groupings. Some groupings only contain 1 row, and in those cases, I want to removing the grouping header above.
To do that, I think I need to hide all of the code (below) using jQuery. I want to make the logic so that it looks for the portion ">(1)", and if it finds that, it hides the hold TBODY. Any ideas? Not exactly sure how to start this.....
<TBODY id="titl1-2_" groupString=""><TR><TD colspan="100" class="ms-gb" nowrap><img src="/_layouts/images/blank.gif" alt="" height=1 width=0><a href="javascript:" onclick="javascript:ExpCollGroup('1-2_','img_1-2_');return false;"><img id="img_1-2_" src="/_layouts/images/minus.gif" alt="Expand/Collapse" border="0"></a> <a href="javascript:" onclick="javascript:ExpCollGroup('1-2_','img_1-2_');return false;">Grouping1</a> : Accurint <span style="font-weight: lighter">‎(1)</span></TD></TR></TBODY>