As an example you want to disable pagination in your default index action and get all results in index. How can you do that? It's simple. You should override the index action in your controller like this:
public function actions() {
$actions = parent::actions();
unset($actions['index']);
return $actions;
}
public function actionIndex() {
$activeData = new ActiveDataProvider([
'query' => \common\models\Yourmodel::find(),
'pagination' => false
]);
return $activeData;
}