Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Autosizing columns

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support
View previous topic :: View next topic  
Author Message
mwe



Joined: 08 Dec 2005
Posts: 15

PostPosted: Fri Aug 24, 2007 8:26 am    Post subject: Autosizing columns Reply with quote

What is the best way to get columns to auto size according to column header contents instead of cell contents in the column? Since my cells contain checkboxes column width becomes far too narrow for the header to be readable.
_________________
Kind regards

Magnus Werner, System Architect
------------------------------------------
Saab Training Systems AB
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Fri Aug 24, 2007 10:45 pm    Post subject: Reply with quote

If your column contains just a checkbox then you would normally just set the Column.Width in the designer to be large enough to fit the header text and then set Column.Resizable to false. Another alternative is to set the Column.MinWidth to the minimum size to allow the text to be readable - then the user can expand the column if they want.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group