                [:selected-table-rows]
                #(identity indexes-of-selected-checkboxes))
     (.setSelectedRows grid (clj->js indexes-of-selected-checkboxes))))
+
+(defn replace-review-num-status-with-text-status
+  [data]
+  (map (fn [row-map]
+         (assoc row-map
+                "_review_status"
+                (get-submission-review-text row-map)))
+       data))
 
 (defn sg-init
   "Creates a Slick.Grid backed by Slick.Data.DataView from data and fields.

                                          default-num-displayed-records)
                            :totalPages total-page-count})
    (.setFilter dataview (partial filterfn form))
    (.setItems dataview (clj->js (map #(assoc % :_review_status "Pending" :_review_comment "A comment!") data)) _id)
    (resizeColumns grid)
    [grid dataview]))


    (clj->js (cond-> columns
               (not hide-actions-column?)
               (conj (actions-column owner has-hxl?))
               true  submission-review-fields))))

(defn init-sg-pager [grid dataview]
  (let [Pager (.. js/Slick -Controls -Pager)]
