     @_tableElement = @helper().tag('table').addClass('tableView')
     @_tableElement.addClass @_tableClass if @_tableClass
     html = []
-    @generateHeaderHTML html
-    @generateBodyHTML html
+    @generateTableHTML html
     @_tableElement.html html.join('')
     @_tbody = $ 'tbody', @_tableElement
     $('tr', @_tbody).each (index) ->

    if sortFunction = @sortFunction()
      @_ordered.sort sortFunction
      if @_loaded
        tbody = $ 'tbody', @_tableElement
        for item in @_ordered
          tbody.append @_rowsByUid[item._uid]
  
  @method 'render', ->
    @renderTable()

    @_id = ST.TableView.Instances.length - 1
    @_rowsByUid = {}
    @_columns = []
    @_ordered = []
    @_sortColumn = null
    @_reverseSort = false
    @_tableClass = null
