kalyani14591 / jquery-datatables-column-filter

Automatically exported from code.google.com/p/jquery-datatables-column-filter
0 stars 0 forks source link

INFO NEEDED - server side processing with multiple tables on one page (the last sAjaxSource invoked always for column search) #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create 3 tables with server side processing and column filters 
2. enter search text for one of the column boxes in the first or second table

What is the expected output? What do you see instead?

The column with the entered search criteria

What version of the product are you using? On what operating system?

PHP 5.3.2, Apache, Chrome / Firefox

Please provide any additional information below.

If search criteria is entered in the column filters for last table on the page, 
the behaviour is correct. If the search criteria is entered on any other column 
filter for the previous tables, the AjaxSource invoked is always the one 
defined for the last table and not the one for the corresponding table. All 
other datatables features like sorting seems to work correctly. 

Original issue reported on code.google.com by ramera...@gmail.com on 7 Sep 2011 at 7:14

GoogleCodeExporter commented 9 years ago
I have exactly the same issue.
I have hacked the plugin to fix multiple other issues with multiple server-side 
datatables on the same page - but this one still eludes me.

Any ideas would be most appreciated!!

Original comment by jvos...@gmail.com on 15 Sep 2011 at 3:03

GoogleCodeExporter commented 9 years ago
Hi,

Sorry but I cannot reproduce this issue. I have placed online exampele and it 
works fine 
http://jquery-datatables-column-filter.googlecode.com/svn/trunk/issue30.html. 
The only difference is that I have used JSONP processing that points to the 
DataTables site because google code do not host php code but this shoudl not be 
relevant.

Regards,
Jovan

Original comment by joc...@gmail.com on 25 Sep 2011 at 9:35

GoogleCodeExporter commented 9 years ago
In the example you put up, you use the same datasource for all 3 tables.
I think you'll find that it breaks if you use a different datasource for all 3 
tables, or at least just a different datasource for the last one.

In that case I expect that the last table's filtering will work as expected, 
but any of the previous table that uses a different datasource will not filter 
correctly, as it will use the datasource of the last table.

Original comment by jvos...@gmail.com on 26 Sep 2011 at 11:05

GoogleCodeExporter commented 9 years ago
Hi,

In the 
http://jquery-datatables-column-filter.googlecode.com/svn/trunk/issue30.html I 
have placed different parameters in these three URLs. It is not a signifficant 
difference but it shows that always is called correct URL (e.g. in the first 
table with p=1, in the second with p=2, and in the third with p=3). Are you 
sure that this is a difference?

Jovan 

Original comment by joc...@gmail.com on 26 Sep 2011 at 9:57

GoogleCodeExporter commented 9 years ago
Hi,

On the 
http://jquery-datatables-column-filter.googlecode.com/svn/trunk/issue30.html 
are placed three different urls as a data sources. Still I cannot reproduce the 
error so I'm closing this issue until I get more information.

Original comment by joc...@gmail.com on 1 Oct 2011 at 9:22