-
Notifications
You must be signed in to change notification settings - Fork 22
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
fix: type cell context #82
base: master
Are you sure you want to change the base?
Conversation
e5984b1
to
e5fd6ec
Compare
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.
LGTM, please rebase. I added some comments.
@@ -30,7 +30,7 @@ export interface CellContext<TRow> { | |||
isSelected: boolean; | |||
rowIndex: number; | |||
treeStatus: TreeStatus, | |||
disable$: Observable<boolean>; | |||
disable$: BehaviorSubject<boolean>; |
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.
Why did you make this change? If there is no specific reason we could use the more generic interface.
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.
Our example expects this. So changing the type would break it. See: https://github.com/siemens/ngx-datatable/blob/master/src/app/basic/disabled-rows.component.ts
e5fd6ec
to
42dcd64
Compare
42dcd64
to
67b0480
Compare
What kind of change does this PR introduce? (check one with "x")
What is the current behavior? (You can also link to an open issue here)
What is the new behavior?
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information: