Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability for ArrayDataProvider to generate column labels when data array is empty #11490

Closed
PowerGamer1 opened this issue May 3, 2016 · 2 comments
Assignees
Milestone

Comments

@PowerGamer1
Copy link
Contributor

Add a new property ArrayDataProvider::modelClass to manually specify which model ArrayDataProvider must use to generate column labels. This change will allow ArrayDataProvider to correctly generate column labels using Model::getAttributeLabel() method when provided data array is empty.

@PowerGamer1 PowerGamer1 changed the title Added ability for ArrayDataProvider to generate model labels when data array is empty Add ability for ArrayDataProvider to generate model labels when data array is empty May 3, 2016
@PowerGamer1
Copy link
Contributor Author

Implemented in #11491.

@PowerGamer1 PowerGamer1 changed the title Add ability for ArrayDataProvider to generate model labels when data array is empty Add ability for ArrayDataProvider to generate column labels when data array is empty May 3, 2016
@samdark samdark added this to the 2.0.9 milestone May 3, 2016
@SilverFire
Copy link
Member

Merged: 7cfd454

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

No branches or pull requests

3 participants