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

fix(pivot-grid): added createRow method for grid based events #15209

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

tishko0
Copy link
Contributor

@tishko0 tishko0 commented Jan 7, 2025

Closes #14970

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them

@tishko0 tishko0 requested a review from dkamburov January 7, 2025 15:57
@tishko0 tishko0 added ❌ status: awaiting-test PRs awaiting manual verification grid: pivot labels Jan 9, 2025
@dkamburov dkamburov self-assigned this Jan 13, 2025
@dkamburov dkamburov requested a review from skrustev January 13, 2025 14:53
@skrustev skrustev self-requested a review February 4, 2025 08:36
@@ -791,3 +791,28 @@ export class IgxSummaryRow implements RowType {
return row;
}
}

export class IgxPivotGridRow extends BaseRow {
Copy link
Member

Choose a reason for hiding this comment

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

If you use the BaseRow as a parent class you will need to override the same properties like the IgxPivotRowComponent, which I think the list is longer if you just define the ones you need.
I would mean that you don't extend BaseRow and only implement the RowType and define only:

  • index
  • grid
  • data
  • viewIndex
  • key
  • expanded (I am not sure if we need this one though)
  • selected

Also I am not sure you override the cells getter when the implementation is the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cellClick's event args in Pivot Grid not all resolvable
4 participants