1. #1
    Sencha User
    Join Date
    Sep 2009
    Posts
    24
    Vote Rating
    0
    FlyFoxUK is on a distinguished road

      0  

    Default Prevent Grid header showing ellipsis in Safari

    Prevent Grid header showing ellipsis in Safari


    Using Ext 3.0.

    Grid headers in Safari appear truncated with the ellipsis (...) dots if the width of the column is not sufficient for the column text (this is also the case for the text contents of the rows themselves).

    The same viewed in Firefox or IE is not truncated with elllipsis.

    How can I prevent Safari from automatically truncating the text and have it display like it would in FF and IE? Is there a Safari CSS rule I can add somewhere?

    Please see attached images.

    Many thanks for any help.

    FF.
    Attached Images

  2. #2
    Sencha User
    Join Date
    Sep 2009
    Posts
    24
    Vote Rating
    0
    FlyFoxUK is on a distinguished road

      0  

    Default


    Does anybody know how to achieve this?

  3. #3
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,743
    Vote Rating
    104
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default


    I think the rule you want to override is this one (set it to "clip" instead of "ellipsis" I think):

    Code:
    .x-grid3-cell-inner, .x-grid3-hd-inner{
        overflow:hidden;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        padding:3px 3px 3px 5px;
        white-space: nowrap;
    }
    Here is more information about the property: https://developer.mozilla.org/en/CSS/text-overflow

Thread Participants: 1