Initializing DataTable from JSON which I get from an endpoint

Initializing DataTable from JSON which I get from an endpoint

drakipovicdrakipovic Posts: 1Questions: 1Answers: 0

Hi,
I just can't find this answer anywhere, is it possible to init the DataTable using rest api endpoint which gives an JSON?
Also I'd like to be able to refresh same JSON every minute and table with it, but not to reset pagination. I saw ajax.reload() but it doesn't work for me.

Can this be done? What format does the ajax field in DataTable creation for JSON need to be?

Thanks!

This discussion has been closed.