Free Support Forum - aspose.com

Grid doesn't break the lines in header

Hi,

when I updated to 1.9.2.8, the header stopped to break the lines when the width of the column is minor than the space required to print all the content.

By example, if the column B1 has the string "NONONONOON NININININ" and the width is not enough to show all the content, it will break the string and show
NONONONOON
NININININ

Can you see it for me?

Thanks,

Hi,

Well, we normally follow MS Excel standard. Now the escapte sequences like "\n" is supported, you may try:

e.g.,

.

.

sheet.Cells["B1"].PutValue("NONONONOON\n NININININ");

Thank you.

Well, I think that a option to enable the WORD WRAP in cells are good. Actually, THERE is a option that you set TRUE or FALSE, but it STOPPED to work, as I tried here.

And I can put “\n” to break the lines, but if I resize the columns, it became VERY STRANGE.

All versions up to 1.9.2.7 works this way and IT’S GOOD, so why change it? Want to make it “excel-like”? Perfect, but don’t kill a GOOD thing, make it optional at least.

Thanks,

Hi,

Thanks for your suggestion.

We will consider it.

Thank you.

Can Henry tell me something about this behavior?

Thanks,

Hi,

We will give a solution soon.

Hi,

We have fixed this problem.

http://www.aspose.com/Community/Forums/98052/ShowThread.aspx

Thanks for the update :D

I am testing by now!!!