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:
- <div id="content" class="pure-form">
- <s:if test="%{listaDelegati.size()>0}">
- <table id="grid" class="table table-condensed table-hover table-striped">
- <thead>
- <tr>
- <th data-column-id="nome" ><fmt:message key="label.form.ricerca.delegati.nome.title"/></th>
- <th data-column-id="cognome" ><fmt:message key="label.form.ricerca.delegati.cognome.title"/></th>
- <th data-column-id="codiceFiscale" ><fmt:message key="label.form.ricerca.delegati.cf.title"/></th>
- <th data-column-id="codiceAssociazione" ><fmt:message key="label.form.ricerca.delegati.codice.associazione.title"/></th>
- <th data-column-id="descrizioneAssociazione" ><fmt:message key="label.form.ricerca.delegati.descrizione.associazione.title"/></th>
- <th data-column-id="dettaglio" ><fmt:message key="label.form.ricerca.elenco.adc.dettaglio.title"/></th>
-
- </tr>
- </thead>
- <tbody>
- <s:iterator value="listaDelegati" status="ricercaStatus">
-
- <tr>
- <s:iterator value="associazioni" status="ass">
-
- <s:set var="r" value="%{associazioni.size()}" />
- <td style="vertical-align:middle" rowspan="1"><s:property value="nome"/></td>
- <td style="vertical-align:middle" rowspan="1"><s:property value="cognome"/></td>
- <td style="vertical-align:middle" rowspan="1"><s:property value="codiceFiscale"/></td>
-
- <td rowspan="1">
- <s:property value="codice"/>
- </td>
- <td rowspan="1">
- <s:property value="descrizione"/>
- </td>
- <s:if test="#ass.count == 1">
- <s:set var="r" value="%{associazioni.size()}" />
- <td style="vertical-align:middle" rowspan="${r}"><s:property value="dettaglio"/></td>
- </s:if>
-
-
- </tr>
- </s:iterator>
- </s:iterator>
-
- </tbody>
- </table>
- </s:if>
- </div>
- $().ready(function() {
- $("#grid").bootgrid({
-
- });
-
-
- });
- </script>
Any ideas in order to solve this fXXXin problem?