Column Quantity

"columnQuantity" is an optional attribute on the "Column" of "ColumnHierarchy". It specifies the number of columns used to display ColumnHierarchy attributes. When not provided, a 2-column layout will be used.

1-column layout example:

<ColumnHierarchy>
<VerticalPageSize>5</VerticalPageSize>
<Column>
<Name>item</Name>
</Column>
<Column columnQuantity="1">
<Name>site</Name>
<Attribute hidden="true">
<Name>site_id</Name>
<SqlDefName>AttSql</SqlDefName>
</Attribute>
<Attribute>
<Name>site_desc</Name>
<SqlDefName>AttSql</SqlDefName>
</Attribute>
<Attribute>
<Name>site_desc2</Name>
<SqlDefName>AttSql</SqlDefName>
</Attribute>
<Attribute>
<Name>site_desc3</Name>
<SqlDefName>AttSql</SqlDefName>
</Attribute>
</Column>
</ColumnHierarchy>

images/download/attachments/144835669/ColumnQuantity_1-version-1-modificationdate-1645047640000-api-v2.png

2-column layout example:

<ColumnHierarchy>
<VerticalPageSize>5</VerticalPageSize>
<Column>
<Name>item</Name>
</Column>
<Column columnQuantity="2">
<Name>site</Name>
<Attribute hidden="true">
<Name>site_id</Name>
<SqlDefName>AttSql</SqlDefName>
</Attribute>
<Attribute>
<Name>site_desc</Name>
<SqlDefName>AttSql</SqlDefName>
</Attribute>
<Attribute>
<Name>site_desc2</Name>
<SqlDefName>AttSql</SqlDefName>
</Attribute>
<Attribute>
<Name>site_desc3</Name>
<SqlDefName>AttSql</SqlDefName>
</Attribute>
</Column>
</ColumnHierarchy>


images/download/attachments/144835669/ColumnQuantity_2-version-1-modificationdate-1645047656000-api-v2.png

3-column layout example:

<ColumnHierarchy>
<VerticalPageSize>5</VerticalPageSize>
<Column>
<Name>item</Name>
</Column>
<Column columnQuantity="3">
<Name>site</Name>
<Attribute hidden="true">
<Name>site_id</Name>
<SqlDefName>AttSql</SqlDefName>
</Attribute>
<Attribute>
<Name>site_desc</Name>
<SqlDefName>AttSql</SqlDefName>
</Attribute>
<Attribute>
<Name>site_desc2</Name>
<SqlDefName>AttSql</SqlDefName>
</Attribute>
<Attribute>
<Name>site_desc3</Name>
<SqlDefName>AttSql</SqlDefName>
</Attribute>
</Column>
</ColumnHierarchy>

images/download/attachments/144835669/ColumnQuantity_3-version-1-modificationdate-1645047675000-api-v2.png