• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5558
  • Last Modified:

DevExpress XtraGrid column width problem

When my grid has no data it looks like Fig 1
When it has data, it looks like Fig2

I can't understand why the column header changes when data is placed in the grid.
I've set ColumAutoFit to False, set Column's MinimumWidth to the same value as their width but it still does it.
The images are 16x16 and the column width is 22
Although it looks like the header HEIGHT also increases, it is the header captionsthat seem to shift position
as shown in Fig3

Any ideas?

4.png
0
Eddie Shipman
Asked:
Eddie Shipman
1 Solution
 
Eddie ShipmanAll-around developerAuthor Commented:
Turn off filtering/sorting on those columns and they will look correctly.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now