Take this code sample:
//do stuff
$location = http://some-domain.com
return new jsonResponse($response, 200, array('Location' => $location));This returns a json response to an ajax call…
I have a server-side jQuery datatable and I want an Ajax-populated select field in a single column of the table. I’m using the jeditable plugin for that.