          :name label :toolTip label :sortable true
          :formatter (partial formatter field language)})))))
 
-(defn- init-sg-pager [grid dataview & {:keys [page-count]}]
-  (let [Pager (.. js/Slick -Controls -Pager)
-        pager (Pager. dataview
-                      grid
-                      (js/jQuery (str "#" pager-id))
-                      #js {:totalDisplayPages page-count})]
-    pager))
+(defn- init-sg-pager [grid dataview]
+  (let [Pager (.. js/Slick -Controls -Pager)]
+    (Pager. dataview
+            grid
+            (js/jQuery (str "#" pager-id)))))
 
 (def sg-options
   "Options to feed the slickgrid constructor."

       (let [e (<! event-chan)
             {:keys [submission-to-rank submission-clicked submission-unclicked
                     filter-by new-columns re-render]} e
             {{{:keys [total-page-count]} :paging} :table-page}
             @shared/app-state
             update-data! (partial om/update! app-state
                                   [:table-page :submission-clicked :data])]
         (when submission-to-rank

               (.resizeCanvas grid)
               (.invalidateAllRows grid)
               (.render grid)
               (init-sg-pager grid dataview))))))))

;; OM COMPONENTS

