Excel Bottom messageTop

Excel Bottom messageTop

donmatthdonmatth Posts: 2Questions: 1Answers: 0

Hello there!
First of all, I'd like to thank the author and the community for this wonderful plugin!!

It's my first post here, so I hope to be following the rules of this Forum! =)

I am currently using the option "messageTop" of the excel button and realized this message's position is always in the center of the generated document (after the title). I would like to know if there is a way to align this message to the left.

Thank you very much for you support! =)

Answers

  • allanallan Posts: 63,457Questions: 1Answers: 10,465 Site admin

    Hi,

    Thank you :).

    Yes it is possible. You need to use the customize callback (example) to modify the style applied to the cell in the second row.

    The list of styles available built in are available in the excelHtml5 documentation. In this case style index 0 would be what you want - so something like:

    $('row c[r*="2"]', sheet).attr( 's', '0' );
    

    I think should do it.

    Allan

  • donmatthdonmatth Posts: 2Questions: 1Answers: 0

    Hello Allan,

    It worked perfectly!! =) =)

    Thank you very much for your help!!

This discussion has been closed.