PDA

View Full Version : Displayfield ellipsis with no fixed width



echowang
8 Sep 2014, 12:09 PM
Is it possible to set displayfield ellipsis but with no fixed width? So that the displayfiel can show "..." whenever I drag the container's right boarder to narrow the container. Similar to table column handles it.

Currently ellipsis works with fixed width like this:
.test {
width: "100px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
}

Any help appreciated!