bServerSide with sAjaxDataProp == ""
bServerSide with sAjaxDataProp == ""
ericbuckley
Posts: 1Questions: 0Answers: 0
When the following 2 conditions are true:
[code]
bServerSide: true
sAjaxDataProp == ""
[/code]
I believe you need to alter the _fnAjaxUpdateDraw() to take this into account. Below is a patch I am proposing.
[quote]
3544,3546c3544,3550
<
< var fnDataSrc = _fnGetObjectDataFn( oSettings.sAjaxDataProp );
< var aData = fnDataSrc( json );
---
>
> var aData = json;
> if ( oSettings.sAjaxDataProp !== "" )
> {
> var fnDataSrc = _fnGetObjectDataFn( oSettings.sAjaxDataProp );
> aData = fnDataSrc( json );
> }
[/quote]
[code]
bServerSide: true
sAjaxDataProp == ""
[/code]
I believe you need to alter the _fnAjaxUpdateDraw() to take this into account. Below is a patch I am proposing.
[quote]
3544,3546c3544,3550
<
< var fnDataSrc = _fnGetObjectDataFn( oSettings.sAjaxDataProp );
< var aData = fnDataSrc( json );
---
>
> var aData = json;
> if ( oSettings.sAjaxDataProp !== "" )
> {
> var fnDataSrc = _fnGetObjectDataFn( oSettings.sAjaxDataProp );
> aData = fnDataSrc( json );
> }
[/quote]
This discussion has been closed.
Replies
Regards,
Allan
Regards,
Allan