ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum no longer accepts new user registrations, please report your question, problem and feedback to the issue page of ReoGrid on Github. Thanks for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2016-05-05 12:10:20

danny
Member
Registered: 2016-05-05
Posts: 17

Auto column width including column headers

Hi,
I really like the auto column width feature either by double clicking between columns or using FitWidthToCells(). However, it doesn't seem to take into account the width of the column header text (when this is wider than the cell data, the column header isn't fully visible). Is there currently a way to this or is it something that could be added in?

Thanks

Offline

#2 2016-05-05 13:08:58

Jing
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: Auto column width including column headers

Hi, this feature will be added from next release 1.3.0. (Auto column width adjust)

Offline

#3 2016-05-05 13:27:57

danny
Member
Registered: 2016-05-05
Posts: 17

Re: Auto column width including column headers

Thanks Jing, look forward to it!

Offline

#4 2016-05-26 13:09:13

Jing
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: Auto column width including column headers

Automatic column width feature added in version 1.3 as a worksheet settings, but by default it is disabled. It can be enabled by using the following code:

sheet.EnableSettings(WorksheetSettings.Edit_AutoExpandColumnWidth);

Download available at https://reogrid.net/download/

Offline

Board footer

Powered by FluxBB