Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How can you set column width on table node? (Read 1787 times)
consolejoker
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 74
Joined: Dec 17th, 2007
How can you set column width on table node?
Dec 29th, 2007 at 3:09am
Print Post  
I have a simple table node with 2 columns. But the first column is much wider than I need it to be. I can't seem to find a way to set the width for column 'n' on a given table.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How can you set column width on table node?
Reply #1 - Dec 29th, 2007 at 5:40am
Print Post  
Try this:

table.Columns[0].ColumnStyle = ColumnStyle.FixedWidth;
table.Columns[0].Width = 10;

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
consolejoker
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 74
Joined: Dec 17th, 2007
Re: How can you set column width on table node?
Reply #2 - Dec 30th, 2007 at 12:18am
Print Post  
Thanks that did the trick! Man I didn't even know about that columns property, I was staring at it all day.

I need to pour over the manual a bit more Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint