Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

ASPxGridView - How to correct the column layout if column widths are set in percentages and the grid is grouped

$
0
0

This example illustrates the solution for the first issue described at ASPxGridView - Why column layout may become broken after user actions if certain column widths are set in percentages
The main idea is to determine the widest column and delete its setting. As a result, the widest column will fill the space that appears after moving one of the columns to the Group panel. 
For this, we implemented the GridViewColumnHelper class and use ASPxHiddenField to preserve information about column width between requests to the server. 


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>