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

Modify extension could handle added/deleted items #147

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

agios
Copy link

@agios agios commented Nov 7, 2013

There already seems to be some thought for it, assuming that the opt.type=0 parameter in core/model/extensions/Modify.js#set was meant to be used for that purpose.

Is there some reason it was never implemented, or is someone working on it? Otherwise I could maybe take a look at it, although new to Dojo, and JavaScript for that matter.

@agios
Copy link
Author

agios commented Nov 7, 2013

This is an initial implementation, it works in my tests. Also changed how save behaves, it now deletes lazy data only for rows where the save succeeded, so if some server validation fails you do not lose your work in progress.

What do you think?

@yurychika
Copy link
Collaborator

agios, thanks for the pull request. You are right that we plan to implement the lazy add and delete functionality.

While we are in the process of releasing gridx 1.3, after the release I will review your code and work with the team on that feature.

Thanks again for using and contributing to gridx.

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.

2 participants