zeitlin / jquery-datatables-row-grouping

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

3 same respond return from server after using row grouping #63

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. HttpGet ajax server side data
2. 3 echo being fire just to get 1 respond
3. 3 same respond being return from server

What is the expected output? What do you see instead?
Loading should be very fast, but due to 3 same respond being return, it become 
slow

What version of the product are you using? On what operating system?
version 1.2.9, window 7, any browser

Please provide any additional information below.

Original issue reported on code.google.com by TWSeon...@gmail.com on 5 Sep 2013 at 8:18

Attachments:

GoogleCodeExporter commented 9 years ago
Fire 1 time but get 3 respond as return, which cause datatable loading slow

Original comment by TWSeon...@gmail.com on 5 Sep 2013 at 8:20

GoogleCodeExporter commented 9 years ago
I have the same issue.

I noticed at line 684 (near eof): "oTable.fnDraw();"
When I remove it, I only get two responds. But I don't know if it will cause 
other issues if I remove it.

@TWSeon..: Have you fixed this?

Is the plugin going to get any updates?

Original comment by postvoor...@gmail.com on 23 Mar 2014 at 10:09

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
No, In the end, I not using row grouping in ajax call, and it see like no 1 is 
maintaining the plugin

Original comment by TWSeon...@gmail.com on 24 Mar 2014 at 1:13

GoogleCodeExporter commented 9 years ago
Hey guys,

I've been stuck on the same problem and (as mentioned above) had to remove the 
'oTable.fnDraw()' from the end of the file to get rid of one of the requests.

The other request was a result of calls to the datatables fnSetColumnVis() 
function (https://datatables.net/api#fnSetColumnVis) which will redraw the 
table unless you pass 'false' as a third parameter.

I am not sure if there are any implications of these changes but everything 
seems to be working fine so far so I've attached my updated script.

I hope this helps!

Elan

Original comment by e...@applicable.co.nz on 3 Apr 2014 at 3:14

Attachments:

GoogleCodeExporter commented 9 years ago
Have same issue even now, anyone can fix this?

Original comment by johnsonc...@gmail.com on 25 Apr 2014 at 10:46

GoogleCodeExporter commented 9 years ago
Elan Clarkson Excellent Solution!!

Original comment by mcEmman...@gmail.com on 19 Jun 2014 at 3:36