Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Resizing Columns

v
v
 DepartmentsBudgetLocationPhone1Phone2
CollapseCorporate Headquarters$1,000,000.00Monterey(408) 555-1234(408) 555-1234
 CollapseSales and Marketing$22,000.00San Francisco(415) 555-1234(415) 555-1234
   Field Office: Canada$500,000.00Toronto(416) 677-1000(416) 555-1234
   Field Office: East Coast$500,000.00Boston(617) 555-4234(415) 555-1234
  CollapsePacific Rim Headquarters$600,000.00Kuaui(808) 555-1234(808) 555-1234
    Field Office: Singapore$300,000.00Singapore(606) 555-5486(606) 555-5786
    Field Office: Japan$500,000.00Tokyo(707) 555-1526(707) 555-5432
   Marketing$1,500,000.00San Francisco(415) 555-1234(415) 555-1234
  Finance$40,000.00Monterey(408) 555-1234(408) 555-1234
 CollapseEngineering$1,100,000.00Monterey(408) 555-1234(408) 555-1234
  CollapseConsumer Electronics Div.$1,150,000.00Burlington, VT(802) 555-1234(802) 555-1234
    Software Development$40,000.00Monterey(408) 555-1234(408) 555-1234
  CollapseSoftware Products Div.$1,200,000.00Monterey(408) 555-1234(408) 555-1234
    Quality Assurance$48,000.00Monterey(408) 555-1234(408) 555-1234
    Customer Support$38,000.00Monterey(408) 555-1234(408) 555-1234
    Research and Development$460,000.00Burlington, VT(802) 555-1234(802) 555-1234
    Customer Services$850,000.00Burlington, VT(802) 555-1234(802) 555-1234

The DevExpress ASP.NET Tree List (ASPxTreeList) allows end-users to resize columns by dragging the appropriate column header.

The SettingsResizing.ColumnResizeMode property specifies how the ASPxTreeList behaves when an end-user resizes a column. The available options are listed below.

  • Control – When an end-user changes the width of a column, it changes the width of the control. The width of other columns do not change.
  • NextColumn – When an end-user changes the width of a column, the width of the next column (to the right) changes. The width of the control does not change.
  • Disabled – End-users are not allowed to resize columns.

Use the Column resizing mode combo box to see how different property values affect resizing behavior.

Tree List can automatically truncate cell values if they don't fit into cell width. To indicate that the text is clipped, the control displays an ellipsis ('...'). By default, this functionality is disabled, set the AllowEllipsisInText property to true to enable it.

The SettingsResizing.Visualization property defines how the column resizing process is visually indicated. Two modes are available.

  • In the Live mode, columns are redrawn dynamically during resizing.
  • In the Postponed mode, columns are redrawn only after the operation has been completed.