Results 1 to 3 of 3

Thread: Prevent Grid header showing ellipsis in Safari

  1. #1
    Sencha User
    Join Date
    Sep 2009
    Posts
    25
    Vote Rating
    0
      0  

    Default 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 Attached Images

  2. #2
    Sencha User
    Join Date
    Sep 2009
    Posts
    25
    Vote Rating
    0
      0  

    Default

    Does anybody know how to achieve this?

  3. #3
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,077
    Vote Rating
    184
      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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •