# ExpandColumnsHorizontally

Source: https://help.codestencil.com/code-nanites/expandcolumnshorizontally

Assuming you create a node with the label - \[%TABLE\_LIST%\].cs as shown below:

![CS&#95;clip0012](https://codestencil.com/docs/cs_clip0012.png)

And then add the \[%HORIZ\_COLUMNS%\] Code Nanite in the code editor:

![CS&#95;clip0013](https://codestencil.com/docs/cs_clip0013.png)

When the code is generated, each file will output the columns in the table currently being processed, separated by commas

![CS&#95;clip0014](https://codestencil.com/docs/cs_clip0014.png)

Just like it is listed under the Global Schema:

![CS&#95;clip0015](https://codestencil.com/docs/cs_clip0015.png)
