bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
54 stars 6 forks source link

getRowHeight does nothing #4383

Open taauntik opened 2 years ago

taauntik commented 2 years ago

Related Forum post

getRowHeight does nothing in scheduler and schedulerPro Reproduce here: https://www.bryntum.com/examples/scheduler/basic/

Steps to reproduce:

  1. Go to the link above
  2. Open code editor
  3. Insert this getRowHeight: () => 200 code inside of the scheduler object
  4. You'll see that the row doesn't expand it's width to 200
isglass commented 2 years ago

SchedulerBase implements its own getRowHeight, which caches the values. Caching should probably move out of it into calculateRowHeight & calculateAllRowHeights to allow custom implementations to work and get their return value cached