How to prevent datatable sorting and the display of Open Row Evolution popup?



I’d like to prevent a datatable to be sorted by the user with the “sort” red triangle icon on datatable head.

I’d also like to avoid to display the Open Row Evolution mouseover popup and the relative icon. in Piwik v. 1 I guess that was obtained with something like:

$view = Piwik_ViewDataTable::factory();

I guess it’s just a matter of configuring some parameter, but I browsed the online documentation and wasn’t able to find out how.

any hint? thanks.


this wasn’t exactly what I had in mind, but more or less made the trick:

$view->config->show_visualization_only = true;


this will specifically prevent the Open Row mouseOver icon to be displayed:

      $view->config->disable_row_evolution = true;

I stumbled on this while casually browsing the code of some core plugin.