DataGridView Column.AutoSizeMode= AllCells does not take the filter icon into account

1
0

Hi,

I’ve started using the filter extension for the DataGridView and it seems it has some problems AutoSize columns. Well, I think it works but it does not take the (added) filter icon into account.

As a fix I tried loading the grid without the filters enabled (which I enable at runtime, in code), store their current widths and then apply the filters with a minimum width of the old width + icon size. This can’t work as “AutoSize = AllCells” only applies to the current displayed items.

How can I use the extension and still use the AutoSize Column feature?

 

To reproduce, just have a DataGridView filled with enough columns to fill the width of your screen while having all column’s AutoSizeMode to AllCells.

 

Thanks!

Vincent

  • You must to post comments
0
0

Vincent,

this has been fixed internally and is currently in QA.
The issue number for your reference is #2993.

We´ll inform you when the fix is released.

Best regards
Frank

  • vincent_
    Thanks!
  • You must to post comments
0
0

Hi

our testing team will check this and I back to you with news about it

Regards

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.