     if @tableId
 
       # enable resize column
-      container.on('mousedown', '.js-col-resize', @onColResizeMousedown)
-      container.on('click', '.js-col-resize', @stopPropagation)
+      table.on('mousedown', '.js-col-resize', @onColResizeMousedown)
+      table.on('click', '.js-col-resize', @stopPropagation)
 
     # enable checkbox bulk selection
     if @checkbox
 
       # click first tr>td, catch click
-      container.delegate('tr > td:nth-child(1)', 'click', (e) ->
+      table.delegate('tr > td:nth-child(1)', 'click', (e) ->
         e.stopPropagation()
       )
 
       # bind on full bulk click
-      container.delegate('input[name="bulk_all"]', 'change', (e) =>
+      table.delegate('input[name="bulk_all"]', 'change', (e) =>
         e.stopPropagation()
         clicks = []
         if $(e.currentTarget).prop('checked')


          if hit
            for event, callback of item.events
              do (container, event, callback) ->
                if cursorMap[event]
                  container.find("tbody > tr > td:nth-child(#{position})").css('cursor', cursorMap[event])
                container.on(event, "tbody > tr > td:nth-child(#{position})",
                  (e) ->
                    e.stopPropagation()
                    id = $(e.target).parents('tr').data('id')

    @sortList()
    bulkIds = @getBulkSelected()
    container = @renderTableContainer()
    table = container.filter('.table')
    if !rows
      rows = @renderTableRows()
      @currentRows = clone(rows)
