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

feat(grid): row selection templating #4998 #5558

Merged
merged 78 commits into from
Sep 3, 2019

Conversation

jackofdiamond5
Copy link
Member

@jackofdiamond5 jackofdiamond5 commented Jul 31, 2019

Closes #4998

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
  • This PR includes API docs for newly added methods/properties
  • 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
  • This PR includes behavioral changes and the feature specification has been updated with them

@jackofdiamond5 jackofdiamond5 requested a review from Lipata July 31, 2019 13:14
@jackofdiamond5 jackofdiamond5 changed the title Bpenkov/row selection templating Row selection templating Jul 31, 2019
@jackofdiamond5 jackofdiamond5 requested a review from wnvko July 31, 2019 13:16
@damyanpetev damyanpetev added the squash-merge Merge PR with "Squash and Merge" option label Sep 2, 2019
@Lipata Lipata changed the title Row selection templating feat(grid): row selection templating #4998 Sep 3, 2019
<ng-template *ngTemplateOutlet="
this.grid.rowSelectorTemplate ? this.grid.rowSelectorTemplate : rowSelectorBaseTemplate;
context: { $implicit: {
index: (this.grid.groupingExpressions ? this.grid.filteredSortedData.indexOf(this.rowData) : this.index) +
Copy link
Member

Choose a reason for hiding this comment

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

Alright, this can be moved to a getter in a separate PR.

Copy link
Member

@damyanpetev damyanpetev left a comment

Choose a reason for hiding this comment

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

LGTM

@damyanpetev damyanpetev dismissed wnvko’s stale review September 3, 2019 14:58

Changes have been addressed

@Lipata Lipata merged commit e0af43d into master Sep 3, 2019
@Lipata Lipata deleted the bpenkov/row-selection-templating branch September 3, 2019 15:56
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.

Custom template for row selection checkbox
5 participants