Quantcast
Channel: DataTables 1.9 — DataTables forums
Viewing all articles
Browse latest Browse all 1817

Data rows not redrawn when calling fnDraw()

$
0
0
Hi,

Hoping someone can help as its driving me nuts!

I have used datatables quite a lot over the last few months and thought id had everything sorted but this latest page and the requirements just wont seem to work.

http://debug.datatables.net/axiwoq

As you'll see i have two tables on the page, the one that isnt working is #ProductList.
The table populates via ajax, this works ok, i can filter using the predefined filter box, again working fine. To enable some additional functionality i have got a drop down list with the choice of SSTId. This is passing back to the controller fine and I can use that to filter the data returned as json. This also works (confirmed ok with JsonLint and checking with Fiddler).

So what should happen is that the data returned after choosing that drop down and it calling fnDraw() is that the screen updates to show the new data, but thats the problem, it doesnt. The really weird thing though is that the debug for that table shows the rows with the right data but the actual page never updates (data rows, pagination, record numbers etc).

I'm guessing that something is failing but chrome doesnt show any js errors, nor does FF and it doesnt hit an ajax error (i had extra line for capturing the ajax error, that wasnt hit).

Any ideas? please! :) (cant post link to page, internal only and as its ajax loaded i cant use live either)

Tim

Viewing all articles
Browse latest Browse all 1817

Trending Articles