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

How can show Scheduler event text without wrapping ?

Asked by Akhtar Raza
1 year ago.

I'm using a Gantt chart and I want to show full text without wrapping. I attached the Screenshot below.
I used eventTextWrappingEnabled = true; But not working.

Answer posted by Dan Letecky [DayPilot]
1 year ago.

To disable text wrapping, the eventTextWrappingEnabled value must be set to false. It adds "whitespace: no-wrap" style to the event element.

See also:
https://api.daypilot.org/daypilot-scheduler-eventtextwrappingenabled/

If it doesn't work, you'll need to review the CSS of your custom theme. I recommend using the browser developer tools to inspect the event element and see what styles are applied.

Comment posted by Akhtar Raza
1 year ago.

Thanks
I override my CSS, Then it work.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.