Attribute Details: GroupCaptionColumn
 Back


InputSelectLists can list values grouped together. GroupCaptionColumn specifies the column from the DataLayer used as the group headings.

GroupCaptionColumn requires a GroupFilter with KeepGroupedRows="True" and Hierarchical="True".

This example shows a list of car models, grouped by maker.

<InputSelectList OptionValueColumn="Model" ID="inputModel" IncludeBlank="True" OptionCaptionColumn="Model" GroupCaptionColumn="Make">
<DataLayer Type="Static" ID="dlAggrColumns">
<StaticDataRow Make="Ford" Model="Focus" />
<StaticDataRow Make="Ford" Model="F150" />
<StaticDataRow Make="Ford" Model="Explorer" />
<StaticDataRow Make="Ford" Model="Fiesta" />
<StaticDataRow Make="Jaguar" Model="XF" />
<StaticDataRow Make="Jaguar" Model="XJ" />
<StaticDataRow Make="Jaguar" Model="XK" />
<StaticDataRow Make="Volkswagon" Model="Jetta" />
<StaticDataRow Make="Volkswagon" Model="Golf" />
<GroupFilter GroupColumn="Make" KeepGroupedRows="True" Hierarchical="True" />
</DataLayer>
</InputSelectList>



POTENTIAL VALUES

UserDefined




PARENT ELEMENTS

Click element to drill down for more information.

Input Select List


 Back to top