line wrapping in Scheduler Events?

Ask for help related to our 2.x versions.
Post Reply
User avatar
Akloster
Posts: 12
Joined: Thu Aug 23, 2012 11:23 am

line wrapping in Scheduler Events?

Post by Akloster » Tue Oct 16, 2012 7:02 pm

Hi,
I'd like to have longer text inside the Scheduler Events (not the tooltips!) and have it line-wrapped automatically. However, the usual css properties don't seem to work. Any idea how I can prevent extjs or scheduler to overwrite word-wrap or text-overflow properties?

Thank you for your help

User avatar
jakub
Posts: 1308
Joined: Wed Jan 25, 2012 7:26 pm
Location: Warsaw, Poland

Re: line wrapping in Scheduler Events?

Post by jakub » Tue Oct 16, 2012 8:44 pm

I've tried wih this css definition and it seems to work :

Code: Select all

word-wrap: break-word;
line-height: 12px;
white-space: normal;
JavaScript/Angular/ExtJS consulting - kuba@virtualdesign.pl

User avatar
kanimozhi
Posts: 47
Joined: Tue Feb 19, 2019 5:39 am

Multi line text in Scheduler Event task bar.

Post by kanimozhi » Wed Mar 20, 2019 11:42 am

Hi , We have a requirement to show two lines text in Scheduler Event bar . First line for "Resource Name" and Second line for "Task " . Find the attached screenshot for your reference. Please provide sample Javascript code to achieve this requirement . Also provide the sample code to enable the wrap text.
Attachments
Screenshot..png
Screenshot..png (13.17 KiB) Viewed 530 times

User avatar
mats
Core Developer
Core Developer
Posts: 14585
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: line wrapping in Scheduler Events?

Post by mats » Wed Mar 20, 2019 12:03 pm

@kanimozhi please post in the relevant product forum (this forum is unsupported)
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

Post Reply