column().name() - DataTables 2.0.0?

column().name() - DataTables 2.0.0?

AndrewFWAndrewFW Posts: 2Questions: 1Answers: 0

I found this API page on google for column().name(). It says "Since DataTables 2.0.0", but I can't find any other mention of DataTables 2.0.0 anywhere! Is this something that's in development, or...?

Answers

  • kthorngrenkthorngren Posts: 20,322Questions: 26Answers: 4,774
    edited December 2018

    No, it will be in Datatables 2 not 1.

    Checkout this thread, Allan gives an example plugin that might do the same.
    https://datatables.net/forums/discussion/44885

    Kevin

  • allanallan Posts: 61,743Questions: 1Answers: 10,111 Site admin
    edited December 2018

    There is actually a v2 branch of DataTables that I've started and that method will be available in it. Use the plug-in in the thread Kevin linked to for v1 though. v2 is no where near ready for production use which is why you won't see anything but passing references to it like this :).

    Allan

  • AndrewFWAndrewFW Posts: 2Questions: 1Answers: 0

    Awesome, thanks guys!

This discussion has been closed.