Server-side loading hangs...
Server-side loading hangs...
Hi,
I'm trying to populate a table using server-side processing, and the load icon hangs. I have checked all the following and all have conformed to the standard prescribed by the documentation: proper json formatting, passing all the required fields, and passing the right number of fields. The javascript code is the same as the latest release..I have not altered it.
What else should I look at? Thanks for the awesome plugin.
Jim
I'm trying to populate a table using server-side processing, and the load icon hangs. I have checked all the following and all have conformed to the standard prescribed by the documentation: proper json formatting, passing all the required fields, and passing the right number of fields. The javascript code is the same as the latest release..I have not altered it.
What else should I look at? Thanks for the awesome plugin.
Jim
This discussion has been closed.
Replies
The most common issue if it hangs is that the JSON isn't 100% valid - and jQuery 1.4 is quite strict about this. If it passes http://jsonlint.com - then it should work fine. You mention that it looks okay - is this the validator your used? Beyond that... Any chance of posting an example so we can take a look. Or send it to me direct: http://datatables.net/contact if you don't want it available to the masses!
Regards,
Allan
I solved it. There was a problem with the generation of the JSON that was oblivious to me. Thanks for the quick response! Also, thanks again for this great plugin.
Jim