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

Update to allow for edit not to be performed on the data source #280

Merged
merged 3 commits into from
Apr 19, 2017

Conversation

Ezeon
Copy link
Contributor

@Ezeon Ezeon commented Apr 3, 2017

Change:
New setting 'confirm.resolve.skipEdit'=true will not perform the edit on the data source. This issue is similar to PR #274. This two changes will allow a better integration with rxjs and ngrx.

Short summary of issue:
The function event.confirm.resolve() does two separate things at the moment:

  1. disable UI controls
  2. perform the edit to the data source
    This pull request allows the event.confirm.resolve() to only (1) modify the UI controls, and not (2) perform the edit on the data source by setting the new parameter 'skipEdit' to true.

Currently an error condition might happen when the smart table is used together with Observables. The issue is further described in Issue #279

New setting 'confirm.resolve.skipAdd'=true will skip adding the new entry to the data source. Added to allow for better integration with rxjs and ngrx.
…updated by an Observable

New settings 'confirm.resolve.skipEdit'=true will not perform any change to the data source after an edit has been performed. This change was done to resolve an issue when the data source is being updated by an Observable. This will allow for a better integration of the smart table to rxjs and ngrx.
Added missing bracket
@lexzhukov
Copy link
Contributor

@Ezeon thanks for PR 👍

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