sAjaxSource does not work with dajaxice.core.js

sAjaxSource does not work with dajaxice.core.js

ladislav2ladislav2 Posts: 13Questions: 0Answers: 0
edited September 2013 in Bug reports
Hi,
I know that this is not more or less problem of datatable, but maybe it could be a challenge for someone to help me find the solution.

I'm using django ajax library dajaxice and if dajaxice.core.js is included, sAjaxSource in datatable settings does not work. It only displays Loading... or Processing (if bProcessing is true) but no data is displayed. If I comment dajaxice.core.js everything works fine and data is fetched and displayed, so I think there is some collision with function names or something, javascript console does not give me anything. In fact data is fetched also in the first case, but nothing is displayed..

Source of dajaxice.core.js - http://pastebin.com/0DMnb8Z5

Thanks for any help.
Lado

Replies

  • ladislav2ladislav2 Posts: 13Questions: 0Answers: 0
    Ok solved by DAJAXICE_XMLHTTPREQUEST_JS_IMPORT to True. There was some 'battle' between xmlrequest object of datatable and dajaxice.
  • allanallan Posts: 56,211Questions: 1Answers: 8,904 Site admin
    DataTables just uses jQuery for the Ajax request, so I guess the conflict is there. Good to know you have a fix though.

    Allan
This discussion has been closed.