    each of whose value is a function of the form (fn [event args]) as described
    in the SlickGrid documentation for event handlers.
    https://github.com/mleibman/SlickGrid/wiki/Getting-Started"
-  (let [active? (-> app-state
-                    :views
-                    :active
-                    set
-                    (contains? :table))]
+  (let [active? (in? active :table)]
     (reify
       om/IRender
       (render [_]

  (:require-macros [cljs.core.async.macros :refer [go go-loop]])
  (:require [chimera.js-interop :refer [safe-regex]]
            [chimera.urls :refer [last-url-param url]]
            [cljs.core.async :refer [<! chan put! timeout]]
            [om.core :as om :include-macros true]
            [om.dom :as dom :include-macros true]

            (when (not= old-data new-data)
              (if (empty? old-data)
                (when-let [[grid dataview]
                           (init-grid! new-data
                                       owner
                                       slick-grid-event-handlers)]
                  (handle-table-events app-state grid dataview))
                (do ; data has changed
                  (.invalidateAllRows grid)
