Table content update
Table content update
markjo
Posts: 66Questions: 0Answers: 0
I have a table having 100 entries.
I paginate them with 10 entry chunks with datatable.
In my table there is some elements like this:
[code]My button[/code]
I also add this to my script
[code] $(document).ready(function () {
$("[rel=popover]").popover({ });
});[/code]
* Everything works fine for first 10 entry. Popovers show title text successfully.
* Also when i change table contents by using "dropdown: 10-25-50" change event triggers and popover() function is called automatically
* But when i pass to "next" 10 entries by using Next-Previous links on top of table, popovers doesn't function normally.
What should i make to solve this?
I tried this but didn't work.
[code] $(document).change(function () {
$("[rel=popover]").popover({ });
});[/code]
I paginate them with 10 entry chunks with datatable.
In my table there is some elements like this:
[code]My button[/code]
I also add this to my script
[code] $(document).ready(function () {
$("[rel=popover]").popover({ });
});[/code]
* Everything works fine for first 10 entry. Popovers show title text successfully.
* Also when i change table contents by using "dropdown: 10-25-50" change event triggers and popover() function is called automatically
* But when i pass to "next" 10 entries by using Next-Previous links on top of table, popovers doesn't function normally.
What should i make to solve this?
I tried this but didn't work.
[code] $(document).change(function () {
$("[rel=popover]").popover({ });
});[/code]
This discussion has been closed.
Replies
Which is here: http://datatables.net/ref#fnDrawCallback
Also, you might want to check out the top FAQ, which is basically the same question: http://datatables.net/faqs#events
Allan