Table Flow Direction

Table Flow Direction

Anonymous
Not applicable
1,775 Views
4 Replies
Message 1 of 5

Table Flow Direction

Anonymous
Not applicable

I tried to use the command: tablestyle.FlowDirection = FlowDirection.BottomToTop when defining the table style but that did not work.

 

Then I used table.FlowDirection = FlowDirection.BottomToTop when defining the table but that did not work also.

 

Any other ideas?

0 Likes
1,776 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable

1.  Committing your transaction?

2.  In the old day, tables were ripped out of the NOD and then loaded into a table class object by the ID with a trans.getobject, perhaps you don't have a proper instance of the table.

0 Likes
Message 3 of 5

Anonymous
Not applicable

I just found out I have to use an integer instead.  tablestyle.flowdirection = 0 (for down) or 1 (for up).

0 Likes
Message 4 of 5

deltacadd
Contributor
Contributor
You should also cast the integer to FlowDirection, as in:

tablestyle.FlowDirection = (FlowDirection) 1; // For BottomToTop

or

table.FlowDirection = (FlowDirection) 1;

Hope this helps someone.
Message 5 of 5

rui143
Explorer
Explorer

You can set the tablestyle like
TableStyle ts = new TableStyle();

ts.FlowDirection = (FlowDirection)1;    //Buttom to Up

0 Likes