Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic FlowChart LaneGrid hide / show Columns / rows (Read 2026 times)
Gabriel
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 30
Joined: Oct 9th, 2012
FlowChart LaneGrid hide / show Columns / rows
Oct 9th, 2012 at 7:49am
Print Post  
Hello,
I'm using the LaneGrid and I would like to know if there any way to hide / show rows or columns.
I have been looking to the rows, columns and headers methods and I haven't find a way to hide a lane.
Thank you very much in advance.
Regards
Gabriel
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: FlowChart LaneGrid hide / show Columns / rows
Reply #1 - Oct 9th, 2012 at 8:19am
Print Post  
There is no way to truly hide columns and rows in the lane grid, but you can 'collapse' columns/rows by setting their width/height. Note however, that columns/rows cannot have zero size so you will have to assign a small enough number to their width/height. For example, to collapse the fifth row in a lane grid, use the following code:

Code
Select All
grid.MinHeaderSize = 0.001f;
grid.RowHeaders[4].Height = grid.MinHeaderSize; 


Regards,
Meppy
  
Back to top
 
IP Logged
 
Gabriel
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 30
Joined: Oct 9th, 2012
Re: FlowChart LaneGrid hide / show Columns / rows
Reply #2 - Oct 9th, 2012 at 9:04am
Print Post  
Hello,
Thank you for the answer,
However I'm having problems, because every time I set a row Heigh <1 (and >0 ) the flowchart is raising it to 1.0 Sad
Any idea about how to override it?
Regards
Gabriel
  
Back to top
 
IP Logged
 
Gabriel
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 30
Joined: Oct 9th, 2012
Re: FlowChart LaneGrid hide / show Columns / rows
Reply #3 - Oct 9th, 2012 at 9:11am
Print Post  
Sorry, I have found it, I was using the HeaderMinSize, after I set it to 0.001f it worked.
Thank you
Gabriel
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint