Quantcast
Viewing all articles
Browse latest Browse all 7205

How to resize columns when column headers are hidden

By default, columns can be resized only using column headers. However, when column headers are hidden (DataViewBase.ShowColumnHeaders is false), they cannot be used for resizing. To change column width in this scenario, the DXThumb element can be used. Create a DXThumb descendant and implement the IColumnPropertyOwner interface. Then, use this descendant in the CellTemplate.


Viewing all articles
Browse latest Browse all 7205

Trending Articles