diff --git a/features/slidingChild/js/sliding-child.js b/features/slidingChild/js/sliding-child.js index cad0464..14abf5c 100644 --- a/features/slidingChild/js/sliding-child.js +++ b/features/slidingChild/js/sliding-child.js @@ -56,7 +56,11 @@ $.ajax({ type: opts.ajax.requestType, url: opts.ajax.requestUrl, - data: opts.ajax.requestData, + beforeSend: function(xhr, settings) { + if (opts.ajax.getRequestData) { + this.data = opts.ajax.getRequestData(dtRow); + } + }, contentType: opts.ajax.contentType, dataType: opts.ajax.dataType, success: function (response) {