Macro Language Reference > PIs > Block > <?blockcolumnflow>
  
<?blockcolumnflow>
Description
The <?blockcolumnflow> command permits the display of columns in an existing block to be reordered. It specifies the sequence of columns in which the source data will be placed (note: it does not specify which chunk of source data will go in each column).
The command must be placed in the block content stream after the <?blockstart> command and before any other <?blockcol...> commands. The new order of the columns is defined in the parameter for the command, with the numbers of columns starting from 1 according to their original definition
* 
Any attributes defined for the column, such as column width, format etc., will move along with its contents. The exception to this occurs when using conditional cell rules, as the definition of whether a column is on the left or right will have changed, and may have a knock on effect for the column width.
This is a block wide property, not a column property.
Syntax
<?blockcolumnflow col numbers:n>
col numbers
New order of columns, separated by commas, e.g. 4,3,2,1
Additional Information
Where cells are instructed to span columns, PTC ALD will try to have them span the same columns after the reorder process, so logic must be applied when attempting to set up the reordering. For example, if you have a subheading for two columns then you can happily elect to swap the position of those columns, but if you insert another column between them the subheadings will be positioned incorrectly.
Related Links