Load datatabe from html-dom and on action make server-side ajax request
|Added at||2017-01-05 08:01|
Basically I have a page that just have a server-side ajax based datatable. The ajax takes few seconds to load the data and the page is useless until then.
I think this takes 2 round http trips, one for page call and one for ajax. If I load the datatable from dom for initial request then how can I make it to user server-side ajax on interaction (next, search, sort etc.)
I assume this approach is better and fast in my opinion but I don't know how to achieve this, if I should.