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
495
WHDG - Truncate Columns
posted

I a problem that I am having difficulty resolving.  I have a WebHierarchicalDataGrid that has multiple columns, bound at runtime, that I would like to limit to a specific fixed width.  If the column has more data than the width can accomodate, I want the grid to truncate it.  I've tried setting the CSS styles using App Stylist but even though my Item style for WebDataGrid has "overflow: hidden;" if a  column has too much data, it doesn't truncate the excess.  It just wraps to another line.  I'd appreciate any suggestions on how I can resolve this issue.

Parents
  • 8160
    Verified Answer
    posted

    Hello dpinkston,

    are you trying to achieve something like this:

    if so you could use white-space:nowrap;

        <style type="text/css">  
        tbody.igg_Item > tr > td
        {
           white-space:nowrap;
        }
        </style>

    I hope this helps

     

Reply Children