Our powerful JS Calendar component


Post by jeff.wang »

Hi,

I am confused, why the event name show the new title during dragging an existed event like below, it should keep the content on the dragged event:
Image

I used the BryntumProjectModel:

          
<BryntumProjectModel ref={this.projectRef} {...projectModel} />

console log like below:
Image

Thank you!


Post by tasnim »

I'm unable to reproduce it, Could you please explain how to reproduce it?


Post by jeff.wang »

ImageI added the values to projectModel, then set the BryntumProjectModel, the code like below:

        <div  id="calendarContainer">
          <BryntumProjectModel
            ref={this.projectRef}
            {...projectModel}
          />
          <BryntumCalendar
            ref={this.calendarRef}
            project={this.projectRef}
            {...calendarConfig}
          />
        </div>

it seems that the event data are losed during dragging,either drag or move.


Post by alex.l »

Sorry, that info is not enough to investigate that. Please attach a runnable test case and steps to reproduce this bug.

All the best,
Alex


Post by jeff.wang »

I resolved it, this is my mistake, the originalData of eventRecord is empty during dragging, I should use the data from eventRecord.

thank you very much!

Jeff


Post Reply