fnServerData and changing the sAjaxSource

fnServerData and changing the sAjaxSource

iisfaqiisfaq Posts: 9Questions: 2Answers: 0

I am using fnServerData to use a pipeline and the sAjaxSource is set to

"sAjaxSource": "/api/json/syncreply/Request_OpenTicketsInQueue?QueueID=1",

Now I want to change this and I found that I can use these methods

oTable = $('#ticket-list').dataTable();

oTable.api().ajax.url("/api/json/syncreply/Request_OpenTicketsInQueue?QueueID=" + this.selectedQueue());
oTable.api().ajax.reload();

This currently triggers the fnServerData method to be called again but the sSource parameter is still showing the original sAjaxSource url not the modified one.

Am I missing something here?

Answers

This discussion has been closed.