Android Question jXL row height

Erel

B4X founder
Staff member
Licensed User
Longtime User
Better to use XLSheetWriter.AutoSizeColumn.

About the row height:
B4X:
Dim sheet As XLSheetWriter = DocWriter.CreateSheetWriterByIndex(0)
sheet.PutString(XL.AddressName("C3"), $"sld;kfjlksdjf
sdfkljskljdf
sdf
sdf ksldjf lksdfj "$)
sheet.SetStyle(XL.AddressName("C3"), DocWriter.CreateStyle.WrapText(True))
sheet.GetRow(XL.AddressName("C3")).Height = -1

I'm not sure what you mean with jXL, but you should use jPOI + XLUtils.
 
Upvote 0

Mostez

Well-Known Member
Licensed User
Longtime User
how to use it with B4A, I've got an error message says 'Library XLUtils is not compatible with B4A'
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
You started this thread about jexcel which, from the name, must be an B4J Library.
But in fact you are talking about excel-Library. without J in the name.
XLUtils + POI are B4J Libraries.
 
Upvote 0
Top