jumpToData question
jumpToData question

As always I would like to thank anyone fist that helps me out with this....
Is there an easy way to get a page number then I am doing here in this jsfiddle example?
My example is a two set process in that I have to fist set the page then query it to find the page number. Is there a one step process that does this?
Thanks again...
This discussion has been closed.
Answers
Do you mean something like this?
$('#xCPN').val(table.page.info().page);
Example:
https://jsfiddle.net/h86m7qLr/
Kevin
Very close. But looking for something that combines
like this.....
Looking at the code for
jumpToData()
it has tis comment:So you can chain the
page.info()
afterjumpToData()
like this:$('#xCPN').val(table.page.jumpToData('Thor Walton', 0).page.info().page);
Example:
https://jsfiddle.net/p9v6ey13/
Kevin