Initial dataload datatable
I'm working on an application which uses the datatable component with a XHR datasource.
The approach outlined by Don generally works, but breaks pagination. handleDataReturnPayload and doBeforeLoadData are not called for some reason, hence I cannot set payLoad.totalRecords.
If I tweak datatable.js to set payLoad.totalRecords in onDataReturnSetRows everything works as expected - but that is of course not the way to go.
I also tried to achieve the same goal by feeding the initial batch of data using the initialLoad parameter as outlined in the datatable documentation under 'loading initial data', however that still results in getting an extra http request right after loading the datatable.
Could someone more knowledgeable about datatable please shine some light on this issue?
Jeroen van Dongen