Global property override
Global property override
Not sure what to call this for the topic, but here is what im trying to do and can't seem to figure this out from the docs.
I would like to override the default properties at a global level so that if I call .dataTables(); I get a different default behaviour without having to add a property object.
the reason for this is that I will be using dataTables throughout my application and I need all tables to have a default set of behaviour. I would like to do this without modifying the plugin itself if this is possible.
I also could just create an object with the properties I want and just call dataTables and pass that object, but was wondering if there was a different way to do this.
is this something that can be done?
I would like to override the default properties at a global level so that if I call .dataTables(); I get a different default behaviour without having to add a property object.
the reason for this is that I will be using dataTables throughout my application and I need all tables to have a default set of behaviour. I would like to do this without modifying the plugin itself if this is possible.
I also could just create an object with the properties I want and just call dataTables and pass that object, but was wondering if there was a different way to do this.
is this something that can be done?
This discussion has been closed.
Replies
Allan