                   (let [rank (aget (.getItem dataview (aget args "row")) _rank)]
                     (put! shared/event-chan {:submission-to-rank rank}))))
     ;; page, filter, and data set-up on the dataview
+    (init-sg-pager grid dataview)
     (.setPagingOptions dataview #js {:pageSize 25})
     (.setFilter dataview (partial filterfn form))
     (.setItems dataview (clj->js data) _id)

         :name label :toolTip label :sortable true
         :formatter (partial formatter field language)})))))

(def sg-options
  "Options to feed the slickgrid constructor."
  #js {:enableColumnReorder false

           (go (<! (timeout 20))
               (.resizeCanvas grid)
               (.invalidateAllRows grid)
               (.render grid)
               (init-sg-pager grid dataview))))))))

;; OM COMPONENTS

