{-
tableData :: ReadAttr DataTable Value
tableData = mkReadAttr $ \dt -> callFunction
  $ ffi "%1.rows().data()"
  $ uuidSelector $ dtUID dt
-}

-- }}}

runDT :: IO ()
runDT = startGUI defaultConfig
  { jsPort       = Just 10000
  , jsCustomHTML = Just "index.html"
  , jsInclude    = []
  , jsStatic     = Just "static"
  } $ pure dtSetup
runDT :: IO ()
runDT = startGUI defaultConfig
  { jsPort       = Just 10000
  , jsCustomHTML = Just "index.html"
  , jsInclude    = []
  , jsStatic     = Just "static"
  } $ pure dtSetup
runDT = startGUI defaultConfig
  { jsPort       = Just 10000
  , jsCustomHTML = Just "index.html"
  , jsInclude    = []
  , jsStatic     = Just "static"
  } $ pure dtSetup