ColumnControl Content Type Documenation Discrepancy (searchDateTime versus searchDate)

ColumnControl Content Type Documenation Discrepancy (searchDateTime versus searchDate)

TerraX3000TerraX3000 Posts: 14Questions: 4Answers: 1

Description of problem:
The content type is listed incorrectly for searchDateTime

The documentation for content types lists it as "searchDate" (see https://datatables.net/reference/content/)

However, the example code on the "searchDate" page lists it as "searchDateTime":

{
            targets: [4],
            columnControl: {
                target: 1,
                content: ['searchDateTime']
            }
        }

(see https://datatables.net/reference/content/searchDate)

Testing shows that "searchDateTime" works but "searchDate" gives this error:

Uncaught Error: Unknown ColumnControl content type: searchDate

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 64,552Questions: 1Answers: 10,672 Site admin
    Answer ✓

    Thank you! Fix committed here and it will be in the next release.

    Allan

Sign In or Register to comment.