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

igxTreeGrid batch update, #2921 #2954

Merged
merged 103 commits into from
Dec 7, 2018
Merged

Conversation

wnvko
Copy link
Contributor

@wnvko wnvko commented Nov 7, 2018

Closes #2921

Lipata
Lipata previously approved these changes Nov 7, 2018
@wnvko wnvko changed the base branch from master to 6.2.x November 13, 2018 12:54
Lipata
Lipata previously approved these changes Nov 13, 2018
@wnvko wnvko added ❌ status: awaiting-test PRs awaiting manual verification and removed 🛠️ status: in-development Issues and PRs with active development on them labels Nov 14, 2018
@wnvko wnvko added the squash-merge Merge PR with "Squash and Merge" option label Nov 21, 2018
@wnvko wnvko changed the base branch from 6.2.x to master December 4, 2018 08:23
@damyanpetev

This comment has been minimized.

wnvko added 10 commits December 5, 2018 15:32
By the help of transaction.path we are able to going trough all the changes
now and update the cloned data source without need of recursion.
_useInUndo flag added to IgxTreeGrid. When cascading delete rows in flat data
set this flag to false and push add it this way in transaction. This allow undo
to skip this transactions.
We are returning to startPending/endPending approach. This time on each
startPending we are pushing array of transactions to undo stack. If undo
gets called we remove the last array of transactions, splice the transactions
array, update the necessary states and push the array of transactions to redo
stack.
By the help of transaction.path we are able to going trough all the changes
now and update the cloned data source without need of recursion.
_useInUndo flag added to IgxTreeGrid. When cascading delete rows in flat data
set this flag to false and push add it this way in transaction. This allow undo
to skip this transactions.
wnvko added 4 commits December 7, 2018 07:58
…2921

Refactor and deleteRowFromData - it should not use data with added rows.
Switch primaryKey and childDataKey parameters positions in commit function.
…e-grid-batch-update

# Conflicts:
#	CHANGELOG.md
#	src/app/app.component.ts
#	src/app/tree-grid-flat-data/tree-grid-flat-data.sample.html
#	src/app/tree-grid-flat-data/tree-grid-flat-data.sample.ts
#	src/app/tree-grid/tree-grid.sample.html
@dafo dafo self-assigned this Dec 7, 2018
damyanpetev
damyanpetev previously approved these changes Dec 7, 2018
@dafo dafo added 💥 status: in-test PRs currently being tested and removed ❌ status: awaiting-test PRs awaiting manual verification labels Dec 7, 2018
…e-grid-batch-update

# Conflicts:
#	projects/igniteui-angular/src/lib/grids/tree-grid/tree-grid-api.service.ts
#	projects/igniteui-angular/src/lib/grids/tree-grid/tree-grid.component.ts
@dafo dafo added ✅ status: verified Applies to PRs that have passed manual verification and removed 💥 status: in-test PRs currently being tested labels Dec 7, 2018
@bazal4o bazal4o merged commit cb75b44 into master Dec 7, 2018
@bazal4o bazal4o deleted the mvenkov/tree-grid-batch-update branch December 7, 2018 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
batch-editing 🔥 severity: high grid: tree-grid squash-merge Merge PR with "Squash and Merge" option version: 7.1.x ✅ status: verified Applies to PRs that have passed manual verification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants