How to wrap cell?

How to wrap cell?

don2don2 Posts: 27Questions: 15Answers: 0
edited October 2022 in Free community support

Hi,

my understanding is it would automatically wrap when there is no nowrap option in a table, but why mine was still not wrapping?, what did I miss?

      <table class="datatables-basic table display dt-responsive" style="width:100%">
             <thead>
                <tr>
                       <th class="align-middle" hidden>Pid</th>
                       <th class="align-middle">Date Time</th>
                      <th class="align-middle">Message</th>
                </tr>
            </thead>
           <tbody>
           </tbody>
          <tfoot>
               <tr>
                     <th class="align-middle" hidden>Pid</th>
                     <th class="align-middle">Date Time</th>
                     <th class="align-middle">Message</th>
               </tr>
           </tfoot>
      </table>

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • don2don2 Posts: 27Questions: 15Answers: 0
    edited October 2022

    Hi @colin, well noted and thank you so much for your reply, but I have resolved it before you post, using:

    text-wrap

    Good day!

Sign In or Register to comment.