Unplanned
Last Updated: 08 Aug 2024 09:07 by ADMIN
Software
Created on: 24 Dec 2021 06:27
Category: SpreadProcessing
Type: Bug Report
2
SpreadProcessing: The AutoFitWidth functionality does not take into account the filtering button
The AutoFitWidth functionality does not take into account the filtering button.
3 comments
ADMIN
Nikolay Demirev
Posted on: 08 Aug 2024 09:07

Hi Todd,

We will consider implementing this for the upcoming release.

Thank you for posting a workaround.

Regards,
Nikolay Demirev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Todd
Posted on: 07 Aug 2024 12:31
Note that I created a workaround using examples in the documentation...

            // Adjust for Filter Drop Down
            for (int i = 0; i <= 8; i++)
            {
                ColumnSelection columnSelection = worksheet.Columns[0, i];
                double columnWidth = columnSelection.GetWidth().Value.Value;
                columnSelection.SetWidth(new ColumnWidth(columnWidth + 50, true));
            }
Todd
Posted on: 07 Aug 2024 12:25
I agree this should be addressed.  Or at least add an optional parameter to adjust the width (in pixels perhaps)?