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

[RFR] Fix rendering on datagrid by using entry.identifierValue as $$hashKey #401

Merged
merged 1 commit into from
Apr 16, 2015

Conversation

RobinBressan
Copy link
Contributor

When displaying an array in a datagrid, ng-admin uses the array indexes as $$hashKey.
Because of that, if you do a splice on your array to remove an entry, it could lead to rendering issues.

  • Using entry.identifierValue into the track by for datagrid.

fzaninotto added a commit that referenced this pull request Apr 16, 2015
[RFR] Fix rendering on datagrid by using entry.identifierValue as $$hashKey
@fzaninotto fzaninotto merged commit 2f7daba into master Apr 16, 2015
@fzaninotto fzaninotto deleted the fix_datagrid_track_by branch April 16, 2015 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants