其他 Windchill 功能 > 製造流程管理 > 自訂產品結構總管 (PSE) > 在區段標題內自訂屬性顯示 > 自訂顯示的欄數
  
自訂顯示的欄數
您可以自訂 SectionHeading 標籤內顯示的欄數。您可以建立類似以下範例的配置圖。
若您在某屬性群組之前指定 SectionHeading,則這些屬性會被一個邊界框圍住,並附帶由 <Label> 標籤指定的標題。如需有關 <Label> 標籤的詳細資訊,請參閱自訂群組內屬性的顯示
如果 numberOfColumns 設定為 "1",將會顯示單一屬性欄;如果設定為 "2",將會顯示 2 個屬性欄。
在上面的範例螢幕擷取畫面中,URL0: 是具有兩個輸入欄位的單一屬性。請注意,如果某部份中的任何屬性均為必要,邊界上的標籤也會被標記為必要。
範例程式碼:
<AttributeGroup id="ptc.wnc.exp.CreatePartTab4"
scrollable="true" displayMode="edit">
<SectionHeading numberOfColumns="1">
<Label>
<Resource key="checkoutInfoStateLabel"/>
</Label>
</SectionHeading>
<CellDefinition id="String0">
<AttributeDefinition attributeId="IBA|String0"/>
</CellDefinition>
<CellDefinition id="URL0">
<AttributeDefinition attributeId="IBA|URL0"/>
</CellDefinition>
<SectionHeading numberOfColumns="2">
<Label>
<Resource key="serialNumberValueLabel"/>
</Label>
</SectionHeading>
<CellDefinition id="Boolean0">
<AttributeDefinition attributeId="IBA|Boolean0"
required="true"/>
</CellDefinition>
<CellDefinition id="Integer0">
<AttributeDefinition attributeId="IBA|Integer0"
required="true"/>
</CellDefinition>
<CellDefinition id="Real0">
<AttributeDefinition attributeId="IBA|Real0"/>
</CellDefinition>
<CellDefinition id="DateTime0">
<AttributeDefinition attributeId="IBA|DateTime0"/>
</CellDefinition>
</AttributeGroup>