   (let [actions (.getElementsByClassName js/document "record-actions")
         sg-viewport (first (.getElementsByClassName js/document
                                                     "slick-viewport"))]
-
     (doseq [action actions]
       (let [leftOffset (js/parseInt (.-offsetLeft action))]
         (.addEventListener sg-viewport "scroll"
                            (fn []
                              (set! (.-left (.-style action))
-
                                    (str (+ (.-scrollLeft  sg-viewport)
                                            leftOffset)
                                         "px"))))))))

                                 label-changer submission-view]]
            [hatti.views.record]
            [hatti.shared :as shared]
            [hatti.utils :refer [click-fn hyphen->camel-case
                                 last-url-param safe-regex url]]
            [cljsjs.slickgrid-with-deps]))


        project-id (last-url-param project)
        edit-link (url form-owner project-id formid
                       (str "webform?instance-id=" value))]
    (generate-html
     [:a.view-record {:title "View"}
      [:i.fa.fa-clone {:data-id value}]]
     "&nbsp;&nbsp;"
     [:a.edit-record {:data-id value :target "_blank" :title "Edit"
                      :href edit-link}
      [:i.fa.fa-pencil-square-o]])))

(def actions-column
  {:id "actions" :field _id :type "text"
