               (.setItems dataview (clj->js new-data) _id)
               (.render grid))))))
 
-    om/IRender
-    (render [_]
+    om/IRenderState
+    (render-state [_ {:keys [table-view-height]}]
       (let [{:keys [data dataset-info]
              {:keys [prevent-scrolling-in-table-view? submission-clicked]}
              :table-page}

  (reify
    om/IDidMount
    (did-mount [_]
      (let [data (get-in app-state [:data])]
        (when-let [[grid dataview]
                   (init-grid! data owner slick-grid-event-handlers)]
          (handle-table-events app-state grid dataview))))

    om/IWillReceiveProps
    (will-receive-props [_ next-props]

        (html
         [:div {:class "table-view"
                :style (when prevent-scrolling-in-table-view?
                         {:height (or table-view-height
                                      (get-table-view-height))
                          :overflow "hidden"})}
          (when (:data submission-clicked)
            (om/build submission-view
