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

Implements rowRenderer prop #850

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

Conversation

KarlaDampilag
Copy link

Issue Number

Fixes #849 (Styling specific cells based on row and column context)

Overview of PR

Implements a rowRenderer prop.

rowRenderer is a function prop that provides the following params:

  • group
  • timelineContext
  • getLeftOffsetFromDate

These params can be used to render each row. In the demo (customRows), params are used to render "real" cells to the DOM, and style them according to group data (e.g. name), and column context (e.g. start and end times).

@KarlaDampilag
Copy link
Author

@Ilaiwi

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.

Styling specific cells based on row and color
1 participant