 
   initButtons: ->
     @data_el.empty()
-    for name, i in @column_names
+    for col, i in @column_names
       css_class = if _.include(@data[@collection_name], i) then 'active' else ''
-      html = "<button class='btn btn-primary #{css_class}' data-val='#{i}'>#{name}</button>"
+      html = "<button class='btn btn-primary #{css_class}' data-val='#{i}'>#{col.name}</button>"
       @data_el.append(html)
 
   columnNames: ->
     _.map $('#list th'), (el) ->
       $el = $(el)
-      $.trim($el.text().replace(/[▼▲]/g, ''))
+      {disabled: $el.hasClass('hide_cell'), name: $.trim($el.text().replace(/[▼▲]/g, ''))}
 
   initHandlers: ->
     $('#submit_columns_hider').click =>

      data[k] = []
      _.each v.split('_'), (el) ->
        data[k].push to_i(el) if el
    data

  fetchData: ->

  constructor: ->
    @store_key = 'cols'
    @data_el = $('#columns_hider_data')
    @column_names = @columnNames()
    @collection_name = $('html').attr('id').replace(/^controller_/, '')
    @data = @getData()
    @initDefaults()
    @initButtons()
    @initHandlers()
    @refreshColumns()

  initDefaults: ->
    @data

  setData: ->
    res = {}
