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 - Editing #2909

Merged
merged 137 commits into from
Nov 5, 2018
Merged

IgxTreeGrid - Editing #2909

merged 137 commits into from
Nov 5, 2018

Conversation

ViktorSlavov
Copy link
Contributor

Closes #2908.

DiyanDimitrov and others added 30 commits October 26, 2018 16:53
# Conflicts:
#	projects/igniteui-angular/src/lib/grids/api.service.ts
%grid-cell-text {
font-style: italic;
color: igx-color(map-get($theme, 'palette'), 'error');
text-decoration-line: line-through;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@simeonoff Can't this be just text-decoration so it'd work in IE/Edge too?
@StefanIvanov Is red part of the design?

Copy link
Collaborator

@simeonoff simeonoff Nov 2, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@damyanpetev text-decoration-line is just a property of the shorthand text-decoration. The line-through text decoration is not supported in IE and Edge. As to the color being red, I've discussed it with @StefanIvanov before implementing the change.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@simeonoff Despite being the shorthand, text-decoration: line-through; is in the CSS1 spec and works just fine even in older IE-s. So unless we need any of the decorations, can we use the shorthand for consistency?

wnvko and others added 3 commits November 3, 2018 19:51
…eGrid-editing

# Conflicts:
#	projects/igniteui-angular/src/lib/grids/api.service.ts
#	projects/igniteui-angular/src/lib/grids/grid-base.component.ts
@@ -4385,7 +4391,14 @@ export abstract class IgxGridBaseComponent implements OnInit, OnDestroy, AfterCo
public repositionRowEditingOverlay(row: IgxRowComponent<IgxGridBaseComponent>) {
this.configureRowEditingOverlay(row.rowID);
if (!this.rowEditingOverlay.collapsed) {
this.rowEditingOverlay.reposition();
const rowStyle = this.rowEditingOverlay.element.parentElement.style;
if (row) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's something not quite right here - if the method accepts a call without a row, the .configureRowEditingOverlay(row.rowID) right above doesn't and will error out (see tests). Also what's with .configureRowEditingOverlay(row) below - is it row or rowID?

@Lipata Lipata added ✅ status: verified Applies to PRs that have passed manual verification and removed 🛠️ status: in-development Issues and PRs with active development on them labels Nov 5, 2018
@bazal4o bazal4o merged commit e9843b4 into master Nov 5, 2018
@bazal4o bazal4o deleted the VSlavov/treeGrid-editing branch November 5, 2018 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
grid: cell-editing grid: row-editing grid: tree-grid squash-merge Merge PR with "Squash and Merge" option version: 6.2.x ✅ status: verified Applies to PRs that have passed manual verification
Projects
None yet
Development

Successfully merging this pull request may close these issues.