mytale.ajax().reload(null,false) doesn't work

mytale.ajax().reload(null,false) doesn't work

gnomxgnomx Posts: 14Questions: 2Answers: 0

Hi there. I'm new on jquery and datatable.
I'm able to create a datatable , but when I try to use that ajax().reload() ( after update record ) it says isn't a function.
Call to server have been made with $.post() method. Maybe I should change type of original of call with tabel.DataTabel({
ajax : url }) ?
I found a way to change DOM into a tabel but old value is still in cache table.

Answers

  • kthorngrenkthorngren Posts: 21,330Questions: 26Answers: 4,951

    it says isn't a function.

    Start with this FAQ. If you still need help then please post the relevant Datatables and Editor JS code.

    Kevin

  • gnomxgnomx Posts: 14Questions: 2Answers: 0

    maybe isn't a best solution but I try to get back new data from DB by make a new query by saving data and pass them to new ajax call

  • kthorngrenkthorngren Posts: 21,330Questions: 26Answers: 4,951

    Its very hard to say what the problem might be. Please post your relevant Javascript code so we can get an idea of what you are doing.

    Kevin

  • gnomxgnomx Posts: 14Questions: 2Answers: 0

    I resolved my problem. The issues was didn't call a ajax function after declare datatable.

Sign In or Register to comment.