Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
| Search | Today's Posts | Mark Forums Read
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 5th, 2003, 09:18 AM
Registered User
Join Date: Oct 2003
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Fit the row height dinamically in a datagrid

I am binding a datatable to a datagrid which has a tablestyle. One of the columns relates to a (potentially) large varchar field in the database, and I would like to expand the row height of those rows where the text flows over a single line.

PreferredRowHeight sets all rows to the same height, whether the text needs to wrap or not.

I would like to dynamically adjust the row height for those rows of the datagrid that require it as necessary.

How can i do that

  #2 (permalink)  
Old June 7th, 2006, 03:06 AM
Registered User
Points: 36, Level: 1
Points: 36, Level: 1 Points: 36, Level: 1 Points: 36, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Mar 2006
Location: Herblay, IDF, France.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Did you get any reply for your question Thanks

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adjust row height of gridview wirerider ASP.NET 2.0 Basics 5 February 1st, 2008 07:01 AM
GridView and Row Height problem snufse ASP.NET 2.0 Basics 4 January 11th, 2008 02:29 PM
Fixed table height and row height rajanikrishna HTML Code Clinic 3 January 18th, 2007 12:42 AM
how to set row height(fixed to 1 pixe) in DataGrid yoganand03 General .NET 1 May 5th, 2004 09:46 AM
Row Height aspadda Excel VBA 0 February 25th, 2004 03:48 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.