search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Alignment getting screwed if number of columns increases?

Asked by Sunil
17 years ago.

I am using 3.7.1.0. If the number of columns increases to 10 or more with varying header text, then, the alignment of header and column gets screwed. I tried decreasing font size but did not help. Is there any wrap propert for header text which I can use after fixing header width so that its alignment with column stays correct? Also,Can I provide a horizontal scroll bar if the number of columns increase?At the moment If i have variable header text for every column, it is spoiling the alignment of header and column.

Comment posted by Dan Letecky
17 years ago.
I will test the possibility of turning word-wrapping on in the BeforeHeaderRender event. However, it's hard to get longer text into the header because it influences the column widths. I will experiment with the longer texts a little bit and I will let you know.

You can have horizontal scrollbar only by placing DayPilot inside a div with style="overflow:auto" or overflow:scroll. I recommend turning off the DayPilot internal scrollbar by setting HeightSpec to Full. This will not be as smooth as the built-in scrollbar (no hidden events indicators).

Having both scrollbars supported in the control is not easy because the headers would have to scroll as well. I will analyze this possible feature but it will not come in the near future.
Comment posted by Pete P.
17 years ago.
We are having the same issue at our company. It would be nice to get this fixed sooner than later.
Comment posted by Dan Letecky
17 years ago.
I have fixed this issue. The fix will be included in DayPilot Pro 4.0 SP1 release.
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.