Group summary hiding and changing the text
<pre><code>loadComplete: function(data) {
$("tr.jqgrow:odd").addClass('myAltRowClass');

var i, groups = $(this).jqGrid("getGridParam", "groupingView").groups,
    l = groups.length,
    idSelectorPrefix  = "#" + this.id + "ghead_2_";

    for (i = 0; i &lt; l; i++) {
        if (groups[i].cnt === 1) {
            $(idSelectorPrefix + i).hide();
        }
    }

    //var gd=jQuery("#master")[0];
    //gd.grid.footers
    //      alert("YES");
    //});



//var element = $('#master&gt;tbody&gt;tr&gt;td&gt;div');
//element.each(function (i) {
//  alert(i);
//    $(this).closest('div').find(".RCSummaryFooter1").text("check");
//});
</code></pre>

<p>},</p>

<pre><code>   /*-----------this is from jqgird----  */  
   tr class="ui-widget-content jqfoot ui-row-ltr" role="row" jqfootlevel="1"&gt;
   &lt;tr id="masterghead_1_3" class="ui-widget-content jqgroup ui-row-ltr masterghead_1"  role="row"&gt;
   &lt;tr id="masterghead_2_4" class="ui-widget-content jqgroup ui-row-ltr masterghead_2"  role="row" style="display: none;"&gt; 
   &lt;tr class="ui-widget-content jqfoot ui-row-ltr" role="row" jqfootlevel="2"&gt;
      &lt;td aria-describedby="master_HD" style=""&gt;
          &lt;div class="RCSummaryFooter1"&gt;Total &lt;/div&gt;
       &lt;/td&gt;
</code></pre>

<p>Dear sir,
I am hiding the second level group text if only one record existed. this is from the ID (masterghead_2_4) I need to hide the summary as well. How could I access the tr since there is no Id for this tr (jqfootlevel="2") I have three groupings. This is the second level which I need to hide. I need to change the text of the summary as well. At the moment it is displaying word "Total" for all three summary levels. I need to change the text as 'Accounts Total', Activity total and Cost/Rvnu Total respectively. Thanks in Advance. 
Please understand it is because of this site only I was managed to do all these work I have done so far. I am a Informix guy and new to this subject. If any one have ideas please share it </p>
