-
Notifications
You must be signed in to change notification settings - Fork 162
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
Remove rowData and rowID props, use data and key #10523
Conversation
* chore(*): add migrations for rowData/rowID * chore(*): remove duplicated export Co-authored-by: dobromirts <[email protected]>
…hub.com/IgniteUI/igniteui-angular into hanastasov/removal-rowData-rowID-master
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see no changes to packages in the package.json so no reason to update the lock file
projects/igniteui-angular/migrations/update-13_0_0/changes/members.json
Outdated
Show resolved
Hide resolved
projects/igniteui-angular/src/lib/grids/grid/grid-row.component.html
Outdated
Show resolved
Hide resolved
projects/igniteui-angular/src/lib/grids/tree-grid/tree-grid.interfaces.ts
Show resolved
Hide resolved
<igx-icon *ngIf="trends.positive(cell.row.rowData)">trending_up</igx-icon> | ||
<igx-icon *ngIf="trends.negative(cell.row.rowData)">trending_down</igx-icon> | ||
<igx-icon *ngIf="trends.positive(cell.row.data)">trending_up</igx-icon> | ||
<igx-icon *ngIf="trends.negative(cell.row.data)">trending_down</igx-icon> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, since this is in the markup and the cell
template variable doesn't have type information (it's any
) migrations probably won't pick this up and it looks unlikely for a custom migration right now.
In that case, we should definitely add an entry in the Upgrade Guide in the docs and include examples of templates the might need manual updating
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will definitely add an entry about that!
Closes #10456
Additional information (check all that apply):
Checklist:
feature/README.MD
updates for the feature docsREADME.MD
CHANGELOG.MD
updates for newly added functionalityng update
migrations for the breaking changes (migrations guidelines)