 # Template methods.
 
 TemplateClass.created = ->
-  @tableId = getNextId()
+  settings = @data.settings ?= {}
+  @tableId = settings.id ? getNextId()
   @selectedIds = new ReactiveVar([])
   configureSettings(@)
 

  template = this
  data = @data
  domNode = getDomNode(this)
  settings = data.settings
  $table = $(@$('.reactive-table')).addClass('ui selectable table segment')
  $collectionTable = @$('.collection-table')


templateName = 'collectionTable'
TemplateClass = Template[templateName]
selectedClass = 'selected'
domNodeField = 'domNodeField'
selectEventName = 'select'
