Prefill column with solid color (divider)

Prefill column with solid color (divider)

teondexteondex Posts: 19Questions: 4Answers: 0
edited May 2017 in Free community support

Hi again DataTables team,

A request was made to separate the data on our data table by adding a column divider or gap empty column is there anyway I can do this built into DataTable already? I would prefer a divider column.

Also is there anyway to add a second higher level header ie

        Requestor                    |                       Order Fulfilled 
        Name| SiteInfo | Number      |  FulfillersName | IPAddress | Phone Number

Answers

  • tangerinetangerine Posts: 3,350Questions: 37Answers: 394

    is there anyway to add a second higher level header

    https://datatables.net/examples/basic_init/complex_header.html

  • teondexteondex Posts: 19Questions: 4Answers: 0
    edited May 2017

    Thanks tangerine,

    That helped but I still need to figure out how to add a column seperator of some sort. Any ideas?

    I tried a blank column with the mData set to Null but its not working.

    I am getting "[object Object]" in each item.

  • kthorngrenkthorngren Posts: 20,369Questions: 26Answers: 4,779

    I tried a blank column with the mData set to Null but its not working.
    I am getting "[object Object]" in each item.

    Try adding defaultContent: '' to the column.

    Kevin

  • allanallan Posts: 61,822Questions: 1Answers: 10,129 Site admin

    @teondex - Please show us your code. Or even better, a link to a test case.

    Allan

This discussion has been closed.