Allowing addition form params to be submitted with an update call
Allowing addition form params to be submitted with an update call
Hi,
My setup:
DataTables 1.8.1
jquery.dataTables.editable.js 1.3
When deleting a row from datatables (using jEditable) the editable plugin mentioned above allows to specify extra parameters on the ajax request through its oDeleteParameters property.
When updating, there is no such possibilty, eg.
oUpdateParameters: {retrievalDate: 242255112141}
The editable plugin uses the fnUpdate from datatables directly. Would it be possible/useful to add such a property (oUpdateParameters) to datatables. I'm asking because I have the requirement that the service needs to do a staleness check on meta data before it can do an update. It needs the retrievalDate as fetched in the original request for that.
Cheers,
Paul
My setup:
DataTables 1.8.1
jquery.dataTables.editable.js 1.3
When deleting a row from datatables (using jEditable) the editable plugin mentioned above allows to specify extra parameters on the ajax request through its oDeleteParameters property.
When updating, there is no such possibilty, eg.
oUpdateParameters: {retrievalDate: 242255112141}
The editable plugin uses the fnUpdate from datatables directly. Would it be possible/useful to add such a property (oUpdateParameters) to datatables. I'm asking because I have the requirement that the service needs to do a staleness check on meta data before it can do an update. It needs the retrievalDate as fetched in the original request for that.
Cheers,
Paul
This discussion has been closed.
Replies
This latest version supports oUpdateParameters.
Any ideas on an implementation?