Problem sing jquery bootgrid on a html table with rowspan

Problem sing jquery bootgrid on a html table with rowspan

Hi everybody, I have a html table with many rospans but when I try to page this table with the Jquery function bootgrid, the reported table loses all the rowspans option.
Here is the code I used on my jsp:
  1. <div id="content" class="pure-form">
  2. <s:if test="%{listaDelegati.size()>0}">
  3. <table id="grid" class="table table-condensed table-hover table-striped">
  4.    <thead>
  5.        <tr>
  6.            <th data-column-id="nome" ><fmt:message key="label.form.ricerca.delegati.nome.title"/></th>
  7.            <th data-column-id="cognome" ><fmt:message key="label.form.ricerca.delegati.cognome.title"/></th>
  8.            <th data-column-id="codiceFiscale" ><fmt:message key="label.form.ricerca.delegati.cf.title"/></th>
  9.            <th data-column-id="codiceAssociazione" ><fmt:message key="label.form.ricerca.delegati.codice.associazione.title"/></th>
  10.            <th data-column-id="descrizioneAssociazione" ><fmt:message key="label.form.ricerca.delegati.descrizione.associazione.title"/></th>
  11. <th data-column-id="dettaglio" ><fmt:message key="label.form.ricerca.elenco.adc.dettaglio.title"/></th>
  12.           
  13.        </tr>
  14.    </thead>
  15.    <tbody>
  16.     <s:iterator value="listaDelegati" status="ricercaStatus">
  17.    
  18.         <tr>
  19.         <s:iterator value="associazioni" status="ass">
  20.        
  21.           <s:set var="r" value="%{associazioni.size()}" /> 
  22. <td style="vertical-align:middle" rowspan="1"><s:property value="nome"/></td>
  23. <td style="vertical-align:middle" rowspan="1"><s:property value="cognome"/></td>
  24.         <td style="vertical-align:middle" rowspan="1"><s:property value="codiceFiscale"/></td>
  25.        
  26.         <td rowspan="1">
  27. <s:property value="codice"/>
  28. </td>
  29. <td rowspan="1">
  30. <s:property value="descrizione"/>
  31. </td>
  32. <s:if test="#ass.count == 1">
  33.           <s:set var="r" value="%{associazioni.size()}" /> 
  34. <td style="vertical-align:middle" rowspan="${r}"><s:property value="dettaglio"/></td>
  35. </s:if> 
  36.        
  37.        </tr>
  38.        </s:iterator>
  39.        </s:iterator>
  40.        
  41.    </tbody>
  42. </table>
  43. </s:if>
  44. </div>
  45. $().ready(function() {
  46. $("#grid").bootgrid({
  47. });
  48. });
  49. </script>  
Any ideas in order to solve this fXXXin problem?