How can I send custom attributes server side?
How can I send custom attributes server side?
dusura
Posts: 2Questions: 0Answers: 0
Hi,
I know I can set my own custom attribute for a datatable as outlined in http://datatables.net/forums/discussion/10434/adding-custom-attributes-to-datatable/p1 but how can I get datatables to send it server-side?
Any assistance would be much appreciated.
I know I can set my own custom attribute for a datatable as outlined in http://datatables.net/forums/discussion/10434/adding-custom-attributes-to-datatable/p1 but how can I get datatables to send it server-side?
Any assistance would be much appreciated.
This discussion has been closed.
Replies
e.g.
[code]
'fnServerParams': function ( aoData ) {
aoData.push( { "name": "bSoftDeletes", "value": $('#softDeletes').attr('checked') ? true : false } );
}
[/code]
Thanks.
Allan