Column header two line wordWrap with ellipsis (wijmo.grid.Column())

Posted by: david-edelsten on 14 September 2017, 12:11 pm EST

  • Posted 14 September 2017, 12:11 pm EST

    Hi,

    I’m working with Wijmo FlexGrid in my dayjob and have been tasked with something that seems quite difficult: setting two line word wrapping for column headings (that overflow with ellipses only the second line).

    .wordWrap = true;
    applies the wj-wrap class with includes
    white-space: normal; text-overflow: clip
    , but this is overflowing many lines downwards, and creating ellipsis on each of those lines rather than just the last.

    Has anybody any experience in restricting word wrapping to a certain number of lines, or having text overflow occur only on the last line?

    Kindly,

  • Posted 14 September 2017, 12:11 pm EST

    Hello David,

    This issue requires further investigation, hence this issue has been escalated to the concerned team with tracking id 261359. We will let you know as soon as we get any update on this issue.

    Thanks,

    Manish Kumar Gupta

  • Posted 14 September 2017, 12:11 pm EST

    Hi Manish

    Thanks for looking at this. I’m aware it’s a difficult thing to achieve, especially when factoring in support for older browser versions.

    I can achieve the functionality for chrome using advice in this post:

    https://stackoverflow.com/questions/3922739/limit-text-length-to-n-lines-using-css

    However, finding something that also works on older browsers is proving very challenging.

    Thanks,

  • Posted 14 September 2017, 12:11 pm EST

    Hi David,

    Thank you for additional information and it is really challenging. We will let you know as soon as we get any information on this.

    Thanks,

    Manish Kumar Gupta

  • Posted 14 September 2017, 12:11 pm EST

    Anyone have an idea?

  • Posted 14 September 2017, 12:11 pm EST

    Hi David,

    This issue is under investigation. We will let you know as soon as we get any update on this issue.

    Thanks,

    Manish Kumar Gupta

  • Posted 20 January 2018, 6:32 am EST

    Hi David,

    We are sorry for the late reply.

    The HTML does not support ellipsis with MultiLine text. And as previously mentioned, implementing this feature using javascript would be complicated and hacky. Hence, currently there is no plan for implementing this.

    ~Manish

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels