TreeListComboBoxColumn Class
A data column with the combo box editor.
Namespace: DevExpress.Web.ASPxTreeList
Assembly: DevExpress.Web.ASPxTreeList.v24.2.dll
Declaration
Remarks
The TreeListComboBoxColumn object is a data column whose values are edited by the combo box editor. Use the TreeListComboBoxColumn.PropertiesComboBox property to access and customize the column editor’s settings.
<dx:ASPxTreeList ID="ASPxTreeList1" runat="server" DataSourceID="SqlDataSource1" KeyFieldName="CustomerID" >
<Columns>
<dx:TreeListTextColumn FieldName="CompanyName" VisibleIndex="0" />
<dx:TreeListComboBoxColumn FieldName="City" VisibleIndex="1">
<PropertiesComboBox DataSourceID="SqlDataSource2" TextField="City" />
</dx:TreeListComboBoxColumn>
</Columns>
</dx:ASPxTreeList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="..."
SelectCommand="SELECT [CustomerID], [CompanyName], [City] FROM [Customers]" />
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="..."
SelectCommand="SELECT [City] FROM [Customers]" />
Note
The TreeListComboBoxColumn
object does not support database server mode.
Concept
Implements
Inheritance
See Also