Quantcast
Viewing all articles
Browse latest Browse all 7205

ASPxGridView - How to display a truncated text in a column

This example demonstrates how to display a truncated text in ASPxGridView column and show a full value as the tool tip.

1) Handle the ASPxGridView.CustomColumnDisplayText event to truncate displayed text in DataCell via the e.DisplayText property;

2) Handle the ASPxGridView.HtmlDataCellPrepared event to set tool tips for the same DataCell via the e.Cell.ToolTip property.

See Also:
E3935: ASPxTreeList - How to display a truncated text in a column
ASPxGridView - How to display truncated text in a resizable column (using CSS)

Question Comments

Added By: John Daren Dizon 1 at: 11/6/2015 5:37:40 PM    

how to set this for all the columns in the grid?


Viewing all articles
Browse latest Browse all 7205

Trending Articles