I am initialising a Data Tables table with preset JSON data. I use mData to match the cell values to the columns. I want to get mData in Data tables for a specific cell when I click on any cell. Is there a way to get the mData value using the Data Tables API?
As in you want the value from the cell when you click that cell? Or you want to know what mData's own value is? For the former, use fnGetData . For the latter, there isn't a public API for that - its an internal parameter once set in the initialisation.
Replies
Allan
I hacked around it by setting the sClass value to match the mData value and then got that value by using standard JQuery :)
K