line wrap around in datagrid

Discussion in 'ASP.NET / ASP.NET Core' started by lucy, Jul 11, 2006.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. hello,

    I'm using a datagrid to display information. Each colum displays information of varying lengths. I am using several different datagrids side by side to to enable given grids to be hidden if the user doesn't want the information. The date grid is always displayed. My problem is that if one colum has info that is longer than the heading of the colum, it line wraps and throws off the verticall alignment of the rows of the corresponding adjacent grids, e.g., the date grid and the other grids. Any thoughts

    Lucy
     
  2. Would preventing the wrap by adding something like this fix your problem?

    <asp:BoundColumn itemstyle-wrap="false"></asp:BoundColumn>


    Joel Thoms
    DiscountASP.NET
    http://www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page