jquery - Unable to get page numbers to appear in Bootstrap table -
i'm trying set pagination using following: http://issues.wenzhixin.net.cn/bootstrap-table/index.html
my code looks this: http://jsfiddle.net/bb0y3vg9/1
what's working:
the data i'm returning end appearing in table.
what's not working
i don't buttons allow me page through results. though have more 10 records in database, ever see 10 results.
showing 1 10 of 10 rows
is appears on page. i've tried go through "data-" options on table match exists in example. did find if use following setting:
data-show-pagination-switch ="true"
then system creates little button me above table. when click on button, switches between returning data in 1 shot, or returning 10 records only.
but still can't see code in example creates buttons under table right list of page numbers.
any suggestions appreciated. thanks.
try using:
data-pagination="true"
Comments
Post a Comment