Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_createLinks function from pagination wrapper #832

Open
CarlaMontserrat opened this issue Oct 24, 2018 · 0 comments
Open

_createLinks function from pagination wrapper #832

CarlaMontserrat opened this issue Oct 24, 2018 · 0 comments

Comments

@CarlaMontserrat
Copy link

CarlaMontserrat commented Oct 24, 2018

Hi everybody,

It's been some days since I started thinking how to solve this problem, I'll explain myself:

I have programed a generic grid using footable. Everything was great until I tried to call it from another page, I mean:

I have a page from which I call an script that shows my grid. The script is the following and it is inside the body of the html:

$( document ).ready(function() {
$( "#grid" ).load( "../grid/grid.asp?id_grid=2" );
});

Now, the problem is the following:
Everything looks great but when trying to change from the first page to another it brings me to a kind of grid with everything but the registers.

I tried to find out a solution but nothing good appeared to me until i saw that, to change between two pages, what the wrapper does is to call a link. This link is "cached" automatically and is catched from de current page (in my case not the same as where I have my grid).
However, I do not want to catch the one in the current page but the one where I have my grid. I changed this link and same problem happened: No registers to show.
So.. No clue abou what can be happening...
Can someone help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant