zmughal / jsgantt

Automatically exported from code.google.com/p/jsgantt
0 stars 1 forks source link

Too long task name will take over the display area for other columns. #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output?
1> Too long task name should be automatically trimmed, like:
"Go to supermarket and buy 1kg tomatoes and 2kg apples and go home."
=> "Go to supermarket and buy ..."

Are there any specific API changes you would like to see?
1> Trim the displayed task name only, full name should be used for tooltip 
display.

Please provide any additional information below.
See pic.

Original issue reported on code.google.com by zhang_yu...@msn.com on 21 May 2009 at 4:49

Attachments:

GoogleCodeExporter commented 9 years ago
I think there's another way:
vLeftTable =
'<DIV class=scroll id=leftside style="width:' + vLeftWidth + 'px"><TABLE 
cellSpacing=0 cellPadding=0 border=0><TBODY>' +

to

'<DIV class=scrollleft id=leftside><TABLE cellSpacing=0 cellPadding=0 
border=0><TBODY>' +

css :
DIV.scrollleft {overflow-x:scroll; BORDER-RIGHT: #efefef 1px solid; 
PADDING-RIGHT: 
0px; BORDER-TOP: #efefef 1px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; 
OVERFLOW: hidden; BORDER-LEFT: #efefef 1px solid; WIDTH: 420px; PADDING-TOP: 
0px; 
BORDER-BOTTOM: #efefef 1px solid; BACKGROUND-COLOR: #ffffff }

It lets the left table has x scroll

Original comment by tobe...@gmail.com on 29 Jul 2009 at 4:21

GoogleCodeExporter commented 9 years ago
This works great in IE. Not being a CSS expert, does anybody know how to make 
this
work in Firefox?

Thanks,

Original comment by ndm_regi...@sbcglobal.net on 8 Mar 2010 at 11:46