Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
325
Shut off text wrap in cells.
posted

I have a WebDataGrid (10.2) which I used largely default settings for the cells.  By default, the cells wrap text when the columns are sized to a smaller width than the cell contents.  I would prefer they would just truncate the text without wrapping.

Anyone know how to do this?

Parents
No Data
Reply
  • 1325
    posted

    Hi,

    Use this in your CSS styling class

    tbody.igg_Item tr td
    {
     overflow:hidden;
     white-space:nowrap;
    }

    But after then also you will face a problem in Internet Explorer that first row still shows the wrapped text. I have been looking for a solution for that, but i didn't even got a reply for that. If you overcome that to please do reply me in hurry.

    Thanks & Regards,

    Assyst

Children