API column().name() doesn't exist / is undefined

API column().name() doesn't exist / is undefined

rodriformigarodriformiga Posts: 47Questions: 12Answers: 0
edited February 2018 in Free community support

Hello @allan

I see the documentation of column().name() or columns().names() and make some tests, but they are undefined.
This function has depreciated or removed?

Replies

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    Actually it hasn't been released yet. At the top of the pages you link to it says: Since: DataTables 2.0.0 and they don't appear in the API reference list. I'm somewhat curious as you how you found them?

    DataTables 2 is still in development and has a long way to go before release I'm afraid.

    Allan

  • rodriformigarodriformiga Posts: 47Questions: 12Answers: 0

    wooowww... Sorry, I came back from the future. hahaha :D

    I searched google for "datatable column.name".

    OBS: so, I would like to recommend the creation of a method "column().type()" to retrieve information about the type of the column.

    thanks @allan

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    Sounds like a good idea to me - thanks for the suggestion. I've added that to my list for v2.

    Allan

This discussion has been closed.