fooplugins / FooTable

jQuery plugin to make HTML tables responsive
https://fooplugins.com/plugins/footable-jquery/
Other
2.13k stars 637 forks source link

_createLinks function from pagination wrapper #832

Open CarlaMontserrat opened 5 years ago

CarlaMontserrat commented 5 years ago

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?