Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#12370 closed defect (fixed)

Long labels wrap incorrectly in TreeTable

Reported by: satapand Owned by: Bryan Forbes
Priority: high Milestone: 1.7
Component: DojoX Grid Version: 1.6.0rc1
Keywords: Cc:
Blocked By: Blocking:

Description

The problem exists in FF3.6, IE8. The labels are displayed with no additional formatting, as a text.

Additionally there is a different problem related with displaying long values. If the value is really long and does not have spaces (i.e. hostname) it gets cut and the user does not know that the value was cut (no indicator of any sort)

Attachments (1)

LonglabelsTreeTable.JPG (73.9 KB) - added by satapand 8 years ago.

Download all attachments as: .zip

Change History (9)

Changed 8 years ago by satapand

Attachment: LonglabelsTreeTable.JPG added

comment:1 Changed 8 years ago by bill

Component: GeneralDojoX Grid
Owner: changed from anonymous to bryanforbes

There's no such widget called TreeTable, do you mean TreeGrid?

comment:2 Changed 8 years ago by Bryan Forbes

Owner: changed from bryanforbes to Bryan Forbes

comment:3 Changed 8 years ago by evan

Resolution: invalid
Status: newclosed

Actually this is a browser native behavior, when there is no space, a series of text won't get wrapped - and this won't happen in a practical scenario

You can try adding a customized attribute, but this only works on FF, Chrome

.claro .dojoxGridCell {
	word-wrap: break-word;
}

comment:4 Changed 8 years ago by evan

Milestone: tbd1.6.1

comment:5 Changed 8 years ago by evan

Resolution: invalid
Status: closedreopened

Well, the fix also works on IE7/8, so it makes sense to get it in.

comment:6 Changed 8 years ago by evan

Milestone: 1.6.11.7

comment:7 Changed 8 years ago by evan

Resolution: fixed
Status: reopenedclosed

Fixed with [24418] by adding a css attr to wrap word within the cell width limit

comment:8 Changed 8 years ago by evan

In [26117]:

Refs #12370 !strict fix a regression - column text are always wrapped in IE when NestedSorting? is on

Note: See TracTickets for help on using tickets.