fnGetInstance not working in 2.2.0
fnGetInstance not working in 2.2.0

I just upgraded to TableTools 2.2.0 and haven't changed any of my other code. However, I now get an error when trying to run the following line:
var oTableTools = TableTools.fnGetInstance('tablename');
The error is:
TypeError: TableTools is undefined
I know TableTools is being referenced correctly because the export buttons work fine on other pages. Unfortunately this is an internal website so I can't post a link. What would have changed going from 2.1.5 to 2.2.0 and how do I fix it?
Thanks
var oTableTools = TableTools.fnGetInstance('tablename');
The error is:
TypeError: TableTools is undefined
I know TableTools is being referenced correctly because the export buttons work fine on other pages. Unfortunately this is an internal website so I can't post a link. What would have changed going from 2.1.5 to 2.2.0 and how do I fix it?
Thanks
This discussion has been closed.
Replies
Worth also pointing out that the global variable will be dropped in the next major version of TableTools, with `$.fn.dataTable.TableTool` being used - to match the style of all the other extensions.
Allan
Thanks!
Allan