Skip to content

datatables.createAjax not adding query parameter #15350

Answered by xorinzor
xorinzor asked this question in Q&A
Discussion options

You must be logged in to vote

Managed to do it like this, doesn't appear to be explained in the docs and had to find it in the issues section:

ajax: abp.libs.datatables.createAjax(function(inputParams) {
    return example.project.something.item.getFilteredList(inputParams, "bar");
}),

Had to look in the compiles JS code by doing a console.log(example.project.something.item.getFilteredList) and go to the Prototype's function location to see which input parameters (& order) it was expecting.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xorinzor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant