Closed vlapo closed 10 years ago
Hi,
What happens if you explicitly activate the Bootstrap2 theme?
<table id="taskList" dt:table="true"
dt:filter="false"
dt:serverside="true"
dt:url="@{/project/ajax/tasks}"
dt:lengthChange="false"
dt:paginationtype="bootstrap"
dt:theme="bootstrap2" <===========
class="table table-bordered sortableTable responsive-table tablesorter tablesorter-default">
<!-- ..... -->
Nothing. Same behavior. Maybe I dont have any settings done ?
You don't need more settings. Let me try to reproduce it and I get back to you.
Unfortunately I can't reproduce it using the latest snapshot. Can you confirm that the bootstrap-pagination js file is present in your page?
I see only paginationtypebootstrap.js ... btw maybe I have problem with my custom template :/ This template implements some customization of bootstrap tables.
But when I comment all sources from template I dont see any changes.
oh. My fault. New update of template comming with bootstrap3 and it isnt supported yet. :/ I am sorry.
Note that waiting for Dandelion Core 0.10.0 to be released, I'll focus on this one for Dandelion-Datatables 0.10.0 since support for Bootstrap3 is added. Thanks!
Hi folks,
I have problem with bootstrap pagination type.
So, I find little bug with bootstrap pagination class. This class have to present in "ul" html element (not parent div).
After my modification:
Same issue with dt:paginationtype bootstra_four_button and bootstrap_full_numbers.
My little bit investigation :): https://github.com/dandelion/dandelion-datatables/blob/master/datatables-core/src/main/resources/datatables/features/paginationType/bootstrap.js#L27 https://github.com/dandelion/dandelion-datatables/blob/master/datatables-core/src/main/resources/datatables/features/paginationType/bootstrap_four_button.js#L26 https://github.com/dandelion/dandelion-datatables/blob/master/datatables-core/src/main/resources/datatables/features/paginationType/bootstrap_full_numbers.js#L26