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
1220
grid column CellStyle TextOverflow, can't get it to clip
posted

Hello, 

I am using grid 8.2, and added this to column definition:

<CellStyle Width="20" TextOverflow="Clip"></CellStyle>

column width is also 20. But the text is longer than 20, and pushes the column width out. Is there another property that needs to be set, so that the cell text overflow (beyond column width) is hidden? 

Parents
No Data
Reply
  • 45049
    Verified Answer
    posted

    Set your grid's DisplayLayout.TableLayout property to Fixed (Infragistics.WebUI.UltraWebGrid.TableLayout.Fixed).  See the API documentation on this property for more details as to what it does (link leads to the article in our online help documentation of NetAdvantage for .NET 2009 Volume 1).

Children