Skip to content

There is no way to update the items as it only takes in the initialItems #1

@msimonian77

Description

@msimonian77

Overview

We dynamically change the items but here the items are initial only? Was that intentional?

Package versions

react-vis-timeline: 2.0.3
vis version: 4.21.0

Steps to reproduce

Add step by step guide to reproduce issue

  1. Creating the timeline sending in initialItems and initialGroups
  2. Items were updated but the timeline stays the same

Code Snippet

           <Timeline
                options={timelineOptions}
                ref={timelineRef}
                initialItems={timelineItems}
                initialGroups={updatedGroups}
                rangechangeHandler={rangeChangeHandler}
            />

Related issues

Any issue which is related to this issue

  • e.g. issue 123

Screenshots (if appropriate)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions