How to customize data when we get first time visiting the page on datatable data?
How to customize data when we get first time visiting the page on datatable data?

If a page has datatable. So if i visit that page normally clicking related button then it will redirect to related page. At that page datatable filled by data from that request (Not ajax call). How to customize that data and after that send it to datatable?
Normally after we located in same page then we do anything ajax call work. In that ajax call we can customize. But it when directly come to that page at that time what we do for customize?
This discussion has been closed.
Answers
Please take a look at the examples for the various Data Sources on this page:
https://datatables.net/examples/index
This
https://datatables.net/examples/data_sources/dom.html
and this
https://datatables.net/examples/data_sources/js_array.html
should be relevant for you.
You could write the data you are having on that "other" page to a browser cookie, read the cookie on the "target" page and fill the data table with it, for example.