sAjaxSource should be called with similar aoData when bServerSide is false instead of true
sAjaxSource should be called with similar aoData when bServerSide is false instead of true
ehuang@okta.com
Posts: 2Questions: 0Answers: 0
I got a sAjaxSource url that works very well when bServerSide is true as datatable will populate the aoData with things like column names, sort order, etc.
When I turn off bServerSide, I was expecting the sAjaxSource url to be called with similar aoData parameters, but instead aoData is hard coded to an empty array.
It would be nice to have aoData be populated here.
Line 2346
oSettings.fnServerData.call( oSettings.oInstance, oSettings.sAjaxSource, [], function(json) {
that [] should be populated by code similar to _fnAjaxUpdate (starting at line 3222)
When I turn off bServerSide, I was expecting the sAjaxSource url to be called with similar aoData parameters, but instead aoData is hard coded to an empty array.
It would be nice to have aoData be populated here.
Line 2346
oSettings.fnServerData.call( oSettings.oInstance, oSettings.sAjaxSource, [], function(json) {
that [] should be populated by code similar to _fnAjaxUpdate (starting at line 3222)
This discussion has been closed.
Replies
Allan