                             :totalPages total-page-count})
     (.setFilter dataview (partial filterfn form))
     (.setItems dataview (clj->js data) _id)
-    (.registerPlugin grid (.AutoColumnSize js/Slick))
+    (resizeColumns grid)
     [grid dataview]))
 
 ;; EVENT LOOPS

            grid
            (js/jQuery (str "#" pager-id)))))

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

           (update-data! nil))
         (when new-columns
           (.setColumns grid new-columns)
           (resizeColumns grid)
           (.render grid))
         (when filter-by
           (.setFilterArgs dataview (clj->js {:query filter-by}))
