function view::set_use_ajax

3.x view.inc view::set_use_ajax($use_ajax)
2.x view.inc view::set_use_ajax($use_ajax)

Whether or not AJAX should be used. If AJAX is used, paging, tablesorting and exposed filters will be fetched via an AJAX call rather than a page refresh.

File

includes/view.inc, line 398
Provides the view object type and associated methods.

Class

view
An object to contain all of the data to generate a view, plus the member functions to build the view query, execute the query and render the output.

Code

function set_use_ajax($use_ajax) {
  $this->use_ajax = $use_ajax;
}