 Template.dataTable.getCursor = ->
   return @getData().cursor or false
 
-# ## DataTable Instance
+# ### DataTable Instance
 Template.dataTable.getDataTable = ->
   return @getTemplateInstance().dataTable or false
 

  @preparePagination()
  @log "initialized", @

# ## Default Options
#   * All options passed through the options parameter will be merged with the default options.
#   * e.g. `_.defaults options, defaultOptions`
# ### [DataTables Options Full Reference](https://datatables.net/ref)
# ### Bootstrap 3 Markup
#   * You can change this by setting `Template.dataTable.defaultOptions.sDom` property.
#   * For some example Less / CSS styles check out [luma-ui's dataTable styles](https://github.com/LumaPictures/luma-ui/blob/master/components/dataTables/dataTables.import.less)
# ### Loading Message
#   * Set `oLanguage.sProcessing` to whatever you want, event html
#   * Haven't tried a Meteor template yet, could be fun!
Template.dataTable.defaultOptions =

  instantiatedComponent.log "rendered", @
  instantiatedComponent.initialize()

# ### destroyed()
#   * Currently nothing is done when the component is destroyed
#   * This may change
Template.dataTable.destroyed = ->
  @log "destroyed"

# ### initialize()
#   * Set the initial table properties from the component declaration
#   * Initialize the jQuery DataTables object
#   * Initialize other third parties if they exist ( plugins, select2, etc. )
