       nil)))
 
 (defn dropdown-editor
-  [row-data k change-fn disable-edit! {:keys [options]}]
+  [_ edited-row-data k change-fn disable-edit! {:keys [options]}]
   (reagent/create-class
    {:component-did-mount #(.focus (reagent/dom-node %))
     :reagent-render
-    (fn [row-data k change-fn disable-edit!]
-      (let [v (get row-data k)
-            change-fn #(change-fn (assoc row-data k %))]
+    (fn [_ edited-row-data k change-fn disable-edit! {:keys [options]}]
+      (let [v (get edited-row-data k)
+            change-fn #(change-fn (assoc edited-row-data k %))]
         [:div.reabledit-cell-editor-dropdown
          {:tabIndex 0
           :on-key-down #(dropdown-editor-key-down % v change-fn options)}

  (re-matches #"\s*((0[,.]0*)|0|([1-9][0-9]*)([.,]0*)?)\s*" s))

(defn int-editor
  [row-data k change-fn _]
  (let [initial-value (get row-data k)
        input (reagent/atom (str initial-value))]
    (fn [row-data k change-fn _]
      [:input.reabledit-cell-editor-input
       {:type "text"
        :class (if-not (int-coercable? @input)

;;

(defn default-editor
  [_ edited-row-data k change-fn _]
  [:input.reabledit-cell-editor-input
   {:type "text"
    :auto-focus true
    :on-focus util/move-cursor-to-end!
    :value (get edited-row-data k)
    :on-change #(change-fn (assoc edited-row-data
                                  k
                                  (-> % .-target .-value)))}])

