T
Toha
Hello,
I am using a DatGridView in virtual mode and unbound data where i listen for
CellValueNeeded events to fill the grid with data. I also want to sort the
data by pressing on the columns which is why i listen to
ColumnHeaderMouseClick as well. It works fine, but the problem is that the
sorting glyph (i.e. the sorting order triangle image) is not visible on the
column header if the column size is too small.
I have tried all the AutoFill options available for the column size/width
but none of them seem to be working. The sorting glyph "length" is simply
ignored and
column width is not adapted to include to glyph (i have to manually resize
the column size to see the glyph).
Is there any automatic way of handling this or do i have to calculate the
column width manually by taking into consern the column header text length,
font size and so on?
I am using a DatGridView in virtual mode and unbound data where i listen for
CellValueNeeded events to fill the grid with data. I also want to sort the
data by pressing on the columns which is why i listen to
ColumnHeaderMouseClick as well. It works fine, but the problem is that the
sorting glyph (i.e. the sorting order triangle image) is not visible on the
column header if the column size is too small.
I have tried all the AutoFill options available for the column size/width
but none of them seem to be working. The sorting glyph "length" is simply
ignored and
column width is not adapted to include to glyph (i have to manually resize
the column size to see the glyph).
Is there any automatic way of handling this or do i have to calculate the
column width manually by taking into consern the column header text length,
font size and so on?