question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

setting page in ajaxParams

See original GitHub issue

Hi Oli, I’m trying to “setData” forcing the page number to display, but Tabulator keeps replacing my page with 1.

To reload I’m using:

tabulator("setData", ajaxURL, ajaxParams);

Where ajaxURL us the URL I’m calling and ajaxParams is:

{
    page: "3",
    format: "json"
}

It should generate an URL similar to ?format=json&page=3, but it’s generating ?format=json&page=1.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
leonardoramecommented, Mar 14, 2017

Hi again Oli, the solution was (as usual) first read the docs!, then use a custom paginator.

1reaction
leonardoramecommented, Mar 13, 2017

Excelent!, that worked!.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to pass parameters in $ajax POST? - Stack Overflow
A solution is to use the jQuery.param function to build a query string that most scripts that process POST requests expect. $.ajax({ url:...
Read more >
jQuery.ajax() | jQuery API Documentation
A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with...
Read more >
jQuery Ajax Function: How to Make Asynchronous HTTP ...
In its first form, this function performs an Ajax request using the url parameter and the options specified in settings . In the...
Read more >
jQuery ajax() Method - TutorialsTeacher
This tutorial shows how to send ajax request using jQuery ajax() method. The jQuery ajax() method provides core functionality of Ajax in jQuery....
Read more >
jQuery AJAX Methods - W3Schools
AJAX is the art of exchanging data with a server, and update parts of a web page - without reloading the whole page....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found