aspnet-devexpress-dot-web-dot-aspxtreelist-960513eb.md
A data column with the combo box editor.
Namespace : DevExpress.Web.ASPxTreeList
Assembly : DevExpress.Web.ASPxTreeList.v25.2.dll
NuGet Package : DevExpress.Web
public class TreeListComboBoxColumn :
TreeListEditDataColumn
Public Class TreeListComboBoxColumn
Inherits TreeListEditDataColumn
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.
Object StateManager CollectionItem WebColumnBase TreeListColumn TreeListDataColumn TreeListEditDataColumn TreeListComboBoxColumn
See Also