I've built the table as:
But, in http://www.datatables.net/usage/ you show that <tbody> should be built like:
I'm also considering using one of the plugins, the Scroller. So, what exactly should I write inside the <tbody>?
<table id="tbl_resultados">
<thead>
<tr>
<th>id</th>
<th>periodo</th>
</tr>
</thead>
<tbody>
<td>Row 1 Data 1</td>
<td>Row 1 Data 2</td>
</tbody>
</table>
Get the results from the database and they are displayed in the table. This is working, for example, for 23 results.But, in http://www.datatables.net/usage/ you show that <tbody> should be built like:
<tbody>
<tr>
<td>Row 1 Data 1</td>
<td>Row 1 Data 2</td>
<td>etc</td>
</tr>
<tr>
<td>Row 2 Data 1</td>
<td>Row 2 Data 2</td>
<td>etc</td>
</tr>
</tbody>
Two rows... What does this mean exactly? What I'm doing is wrong? Do I have to code 100 <tr><td>... </tr> rows? 100 = maximum number of rows available to be shown?I'm also considering using one of the plugins, the Scroller. So, what exactly should I write inside the <tbody>?