colspan not supported in 1.13.11?

colspan not supported in 1.13.11?

pandorapeterpandorapeter Posts: 1Questions: 1Answers: 0

Hello! Was colspan not supported in 1.13.11? For my minimal test case I get an invalid column count error.
Currently, I cannot upgrade to a newer version.

https://jsfiddle.net/6upkeb1x/2/

Answers

  • allanallan Posts: 64,660Questions: 1Answers: 10,690 Site admin

    Sort of. In v1 (which is legacy and no longer supported btw :)), each column needed at least one unique cell which didn't colspan. So you could use multiple rows in the header:

      <thead>
        <tr>
          <th>A</th>
          <th>B</th>
        </tr>
        <tr>
          <th colspan="2">Test</th>
        </tr>
      </thead>
    

    Updated example.

    But if you want a colspan without a second row in the header, then you need v2.

    Allan

Sign In or Register to comment.