UPDATED:
Starting with version v2015 vol 2 (v15.2), this functionality is available out of the box. Simply set the ASPxTreeList.SettingsBehavior.AllowEllipsisInText / TreeListDataColumn.AllowEllipsisInText property to True to activate it. Please refer to the ASP.NET Grid View - Data Range Filter, Adaptivity and More (Coming soon in v15.2) blog post and the Resizing Columns demo for more information.
If you have version v15.2+ available, consider using the built-in functionality instead of the approach detailed below.
This example demonstrates how to display a truncated text in the ASPxTreeList column and show a full value as a tooltip.
1) Handle the ASPxTreeList.HtmlDataCellPrepared event and truncate the displayed text in DataCell via the e.Cell.Text property;
2) Set a tooltip for the same DataCell via the e.Cell.ToolTip property.
See Also:
E3934: ASPxGridView - How to display a truncated text in a column
↧
OBSOLETE - ASPxTreeList - How to display a truncated text in a column
↧