How do in js code configuration header colspan

How do in js code configuration header colspan

ssy341ssy341 Posts: 15Questions: 0Answers: 0
edited March 2013 in DataTables 1.9
like html:
[code]

col_1
col_2col_3



[/code]
how to transform in js?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Transform to what? That will work fine in DataTables as it is.

    Allan
  • ssy341ssy341 Posts: 15Questions: 0Answers: 0
    Thank you for your answer, the problem is like this

    If not in HTML to write th and tr these labels, then can use in the js aoColumns configuration header (sTitle), but now my header is grouped, if not write th in the HTML tag with colspan tag, can be like in the tbody tr in js configuration?
    Do you understand?
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Not really I'm afraid - can you link me to a test case showing the problem or use http://live.datatabes.net to show me the problem?

    You cannot use the DataTables configuration options to configure the colspan - if you want to do that you need to use standard DOM / jQuery methods.

    Allan
  • ssy341ssy341 Posts: 15Questions: 0Answers: 0
    Thank you ,understand



    Keith
This discussion has been closed.