Skip to main content
All docs
V24.1

DxTreeList Methods

A component that displays hierarchical data in tabular format and allows users to sort, filter, and otherwise shape the data.
Name Description
AutoFitColumnWidths() Adjusts column width to content.
BeginUpdate() Suspends TreeList updates caused by parameter changes and method calls until the EndUpdate() method is called.
ClearFilter() Clears the filter applied to TreeList data.
ClearSelection() Clears selection.
ClearSort() Clears sorting.
CollapseAll() Collapses all rows in the TreeList component.
CollapseRow(Int32) Collapses the row with the specified visible index.
DeselectAllAsync() Deselects all rows in the TreeList.
DeselectAllOnPage() Deselects all rows on the currently visible page except for child rows of collapsed items.
DeselectDataItem(Object) Deselects a row that corresponds to the specified data item.
DeselectDataItems(IEnumerable<Object>) Deselects rows that correspond to the specified data items.
DeselectRow(Int32) Deselects a row with the specified visible index.
DeselectRows(IEnumerable<Int32>) Deselects rows with the specified visible indexes.
EndUpdate() Resumes TreeList updates (when the BeginUpdate() method pauses updates) and re-renders the TreeList.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
ExpandAll() Expands all rows in the TreeList component.
ExpandRow(Int32) Expands the row with the specified visible index.
FilterBy(String, TreeListFilterRowOperatorType, Object) Filters TreeList data by the specified column value.
GetColumns() Returns a collection of all treelist columns.
GetDataColumns() Returns a data column collection.
GetDataItem(Int32) Returns a data source item bound to the row with the specified visible index.
GetDataItemValue(Object, String) Returns the value of the specified field for the specified data item.
GetFieldFilterCriteria(String) Returns the filter criteria applied to the specified field of the bound data source.
GetFilterCriteria() Returns the filter criteria applied to TreeList data.
GetFocusedDataItem() Returns a data item bound to the focused data row.
GetFocusedRowIndex() Returns the visible index of the focused row.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetPageCount() Returns the total number of pages in the TreeList.
GetRowValue(Int32, String) Returns the value of the data source field in the specified row.
GetSortedColumns() Gets the collection of sorted columns.
GetStartRowVisibleIndex() Gets the visible index of the first row on the current page.
GetTotalSummaryDisplayText(ITreeListSummaryItem) Gets a total summary item’s display text.
GetTotalSummaryFormattedValue(ITreeListSummaryItem) Gets a total summary item’s formatted value.
GetTotalSummaryItems() Returns the collection of total summary items.
GetTotalSummaryLabel(ITreeListSummaryItem) Returns the name of a total summary‘s function name.
GetTotalSummaryValue(ITreeListSummaryItem) Gets a total summary item’s value.
GetType() Gets the Type of the current instance. Inherited from Object.
GetVisibleColumns() Returns a collection of visible columns sorted based on their display order.
GetVisibleRowCount() Returns the total number of visible rows in the TreeList.
IsDataItemFocused(Object) Returns whether the row bound to the specified data item is focused.
IsDataItemSelected(Object) Returns whether the row that corresponds to the specified data item is selected.
IsRowExpanded(Int32) Returns whether the row with the specified visible index is expanded.
IsRowFocused(Int32) Returns whether the row with the specified visible index is focused.
IsRowSelected(Int32) Returns whether the specified row is selected.
MakeRowVisible(Int32) Makes the row with the specified visible index visible on screen.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RefreshSummary() Refreshes all total summary values in the TreeList.
Reload() Reloads TreeList data.
SelectAllAsync(Boolean) Selects or deselects all rows in the TreeList.
SelectAllOnPage(Boolean) Selects or deselects all rows on the currently visible page except for child rows of collapsed items.
SelectDataItem(Object, Boolean) Selects or deselects a row that corresponds to the specified data item.
SelectDataItems(IEnumerable<Object>, Boolean) Selects or deselects rows that correspond to the specified data items.
SelectRow(Int32, Boolean) Selects or deselects a row with the specified visible index.
SelectRows(IEnumerable<Int32>, Boolean) Selects or deselects rows with the specified visible indexes.
SetFieldFilterCriteria(String, CriteriaOperator) Applies a filter to the specified data field.
SetFilterCriteria(CriteriaOperator) Applies a filter to TreeList data.
SetFocusedRowIndex(Int32) Moves focus to the row with the specified visible index.
ShowColumnChooser() Shows the column chooser in the center of the treelist.
ShowColumnChooser(DialogDisplayOptions) Shows the column chooser and positions it based on specified display options.
ShowColumnChooser(String) Shows the column chooser below the specified target element.
SortBy(String, TreeListColumnSortOrder, Int32) Sorts data by column values in the specified order and specifies the sorted column’s index.
SortBy(String, TreeListColumnSortOrder) Sorts data by column values in the specified order.
SortBy(String) Sorts data by the specified column values.
ToString() Returns a string that represents the current object. Inherited from Object.
WaitForDataLoadAsync() Returns a task that completes when pending asynchronous data load operations are completed.
WaitForRemoteSourceRowLoadAsync(Int32) Returns a task that is completed when the specified row of a remote data source is loaded.
See Also