#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)
Change History (9)
Changed 10 years ago by
Attachment: | LonglabelsTreeTable.JPG added |
---|
comment:1 Changed 10 years ago by
Component: | General → DojoX Grid |
---|---|
Owner: | changed from anonymous to bryanforbes |
comment:2 Changed 10 years ago by
Owner: | changed from bryanforbes to Bryan Forbes |
---|
comment:3 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
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 10 years ago by
Milestone: | tbd → 1.6.1 |
---|
comment:5 Changed 10 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Well, the fix also works on IE7/8, so it makes sense to get it in.
comment:6 Changed 10 years ago by
Milestone: | 1.6.1 → 1.7 |
---|
comment:7 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Fixed with [24418] by adding a css attr to wrap word within the cell width limit
There's no such widget called TreeTable, do you mean TreeGrid?