Getting settings
Getting settings
greenflash
Posts: 58Questions: 5Answers: 0
I'm struggling to work out how I get the settings in 1.10. Previously I used to use fnSettings(). However the new equivalent is settings(), but the documentation says that the information in the object is considered to be private. But I can't work out what the approved way of doing it is. For example what are the equivalents of oSettings.ajax and oSettings.bServerSide, where oSettings = table.fnSettings()?
This discussion has been closed.
Answers
settings()
returns an API instance of settings objects - so you would need to dosettings()[0]. ...
.However, as the documentation says - please don't use the settings object! If you can get the information from the public API you should. For example to find if server-side processing is enabled use
page.info()
.Allan
Many thanks for a quick response!