fixing the column size of a datagrid

Please support our C# advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Sep 2006
Posts: 116
Reputation: bhavna_816 is an unknown quantity at this point 
Solved Threads: 0
bhavna_816 bhavna_816 is offline Offline
Junior Poster

fixing the column size of a datagrid

 
0
  #1
Mar 6th, 2007
How can i fix the column width at code time so that it cannot be editable at runtime.
language-C# Windows application
version-.net 1.1 or 2003
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 19
Reputation: nyashaC is an unknown quantity at this point 
Solved Threads: 0
nyashaC nyashaC is offline Offline
Newbie Poster

Re: fixing the column size of a datagrid

 
0
  #2
Aug 14th, 2007
Set property allowUserToresizeColumns to false.
Click Columns > Collection to open column editor and set you column width values
NyashaC
"My logic is undeniable"
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:




Views: 5303 | Replies: 1
Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC