sauravn / jquery-jtps

Automatically exported from code.google.com/p/jquery-jtps
0 stars 0 forks source link

blank rows #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
I think the line:
<code>
// remove all stub rows
$('.stubCell', this).remove();
</code>
must be placed after adding the stub rows and not above.
This will fix the blank rows when initializing the plugin with less rows than 
the initial pagination.
Example if rows per page = 50 and the retrieved data is 25 rows, you will get 
25 blank rows, by changing this, the blank rows will be removed at init and no 
empty rows will be shown.

Hope its useful!

Original issue reported on code.google.com by shag...@gmail.com on 9 Dec 2010 at 3:58