Skip to content
This repository has been archived by the owner on Oct 8, 2023. It is now read-only.

Pagination is not provided #7

Open
kvarts opened this issue Mar 15, 2016 · 4 comments
Open

Pagination is not provided #7

kvarts opened this issue Mar 15, 2016 · 4 comments

Comments

@kvarts
Copy link

kvarts commented Mar 15, 2016

When generating a tree, in which more than 20 elements necessary pagination. It is not provided?
in yii\data\Pagination property defaultPageSize = 20

@leandrogehlen
Copy link
Owner

This component does not allows tree data with pagination.
Currently it's necessary to remove pagination from provider:

$dataProvider = new ActiveDataProvider([
    'query' => $query,
    'pagination' => false 
]);

Maybe would be necessary to create a TreeDataProvider

@kvarts
Copy link
Author

kvarts commented Mar 15, 2016

Maybe. Or in init method defined $this->dataProvider->pagination = false;. It is easier

@leandrogehlen
Copy link
Owner

I think better, the TreeProvider because, i believe to be a "elegant" solution

@g-ton
Copy link

g-ton commented Sep 5, 2016

It is possible add some pagination? like CgridView

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants