Closed kstan79 closed 1 month ago
i manage to solve by manually set 'ec' width at runtime:
const colwidth = 8 //rem
const calResources = getResources()
const totalwidth = calResources.length * colwidth + 3 //+3rem require for times column
if(document.getElementById('ec')!== undefined){
document.getElementById('ec').style.width = totalwidth+'rem'
}
however, I not think it is a good and permanent solution (maybe different browser will have different issue), so far any more "official" way?
Please take a look at this comment. The official solution to this issue will be Resource Timeline view, which is currently in development.
as below example i define multiple resources, it shrink down the column so tiny and cause the event cant render well.![sample1](https://github.com/vkurko/calendar/assets/1889979/951e0e53-785f-46ec-8dea-2c2ef9123afa)
I'm tried to change css to set min-width.
so far column width expand but cause issue like it cant render calendar well. I tried multiple way and no luck, result either:
is there anyway can render calendar nicely when render near 40 resources?