           (table-header-column
             {:key   (str "thc-" index)
              :style {:height "30px"}}
-            (:name header))) headers))))
+            header)) headers)
+      (table-header-column
+        {:key   "thc"
+         :style {:height "30px"
+                 :width  "100%"}} ""))))
 
 (defn list-table-auto-body
   [items clickable? render-item-fn render-items-key]

                              render-item-fn
                              render-items-key)))))

;; List selectable component

(defn list-selecttable-header
  [headers]
  (table-header
    {:key               "th"
     :displaySelectAll  true
     :adjustForCheckbox true
     :enableSelectAll   true
     :style             {:border "none"}}
    (table-row
      {:key           "tr"
       :displayBorder true}
      (map-indexed
        (fn [index header]
          (table-header-column
            {:key (str "thc-" index)}
            header)) headers))))

(defn list-selecttable-body
  [items render-item-fn render-items-key]
  (table-body
    {:key                 "tb"
     :showRowHover        true
     :deselectOnClickaway true
     :displayRowCheckbox  true}
    (map-indexed
      (fn [index item]
        (table-row
          {:key       (str "tr-" (hash item))
           :style     {:cursor "pointer"}
           :rowNumber index}
          (->> (select-keys* item render-items-key)
               (map #(table-row-column
                       {:key (str "trc-" (:id item))}
                       (render-item-fn % item)))))) items)))

(defn list-selectable
  [headers items render-item-fn render-items-key]
  (mui
    (table
      {:key            "tbl"
       :selectable     true
       :onRowSelection nil}
      (list-selecttable-header headers)
      (list-selecttable-body items
                             render-item-fn
                             render-items-key))))

;; Form table component

(defn form-table-header
  [headers]
  (let [el-style {:height "35px"}]
    (table-header
      {:key               "th"
       :displaySelectAll  false
       :adjustForCheckbox false
       :style             {:border "none"}}
      (table-row
        {:key           "tr"
         :displayBorder false
         :style         el-style}
        (map-indexed
          (fn [index header]
            (table-header-column
              {:key   (str "thc-" index)
               :style (merge (select-keys header [:width])
                             el-style)}
              (:name header))) headers)
        (table-header-column
          {:key   "thc"
           :style el-style} "")))))

(defn form-table-body
  [headers items data render-items-fn remove-item-fn]

  [headers]
  (table-header
    {:key               "th"
     :style             {:border "none"}
     :displaySelectAll  false
     :adjustForCheckbox false}
    (table-row
