Rails Axlsx New Line in Cell -


is there way can add new line cell using axlsx gem in rails?

so replicating in excel once enter value can alt + enter add additional text new line in cell. tried

sheet.add_row ["testing cell row 1" + \r\n + "testing cell row 2"] 

but throws error.

for forced line feed use "\x0a" (breaks between paragraphs.)

if want both carriage return , line feed, use "\x0d\x0a".


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -