Export to GitHub

jquery-datatables-row-grouping - issue #63

3 same respond return from server after using row grouping


Posted on Sep 5, 2013 by Happy Rabbit

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.

Attachments

Comment #1

Posted on Sep 5, 2013 by Happy Rabbit

Fire 1 time but get 3 respond as return, which cause datatable loading slow

Comment #2

Posted on Mar 23, 2014 by Swift Elephant

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?

Comment #3

Posted on Mar 24, 2014 by Happy Rabbit

Comment deleted

Comment #4

Posted on Mar 24, 2014 by Happy Rabbit

No, In the end, I not using row grouping in ajax call, and it see like no 1 is maintaining the plugin

Comment #5

Posted on Apr 3, 2014 by Swift Dog

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

Attachments

Comment #6

Posted on Apr 25, 2014 by Happy Ox

Have same issue even now, anyone can fix this?

Comment #7

Posted on Jun 19, 2014 by Massive Cat

Elan Clarkson Excellent Solution!!

Status: New

Labels:
Type-Defect Priority-Medium