Stability | experimental |
---|---|
Maintainer | Ertugrul Soeylemez <es@ertes.de> |
Table-like view for tabular data.
- data TableView s val = TableView {
- tableFilter :: [Filter val]
- tableId :: String
- tableOrder :: [Order val]
- tableRoute :: Int -> Int -> Route s
- tableShowHead :: Bool
- tableStyled :: Bool
- tableCurrentLimit :: Int
- tableCurrentOffset :: Int
- tableLimitPrompt :: String
- tableLimits :: [Int]
- tableMinLimit :: Maybe Int
- tableMaxLimit :: Maybe Int
- defTableView :: TableView s val
- tableView :: forall s sub val. (PersistBackend (YesodDB s (GGHandler sub s IO)), PersistEntity val, TableViewWidget val, YesodPersist s) => TableView s val -> GHandler sub s (GWidget sub s ())
- module Yesod.TableView.Widget
Documentation
Table view settings. Defaults are given in parentheses.
TableView | |
|
defTableView :: TableView s valSource
Default values for most fields. The following fields will be left
undefined: tableId
, tableRoute
, tableCurrentLimit
and
tableCurrentOffset
.
tableView :: forall s sub val. (PersistBackend (YesodDB s (GGHandler sub s IO)), PersistEntity val, TableViewWidget val, YesodPersist s) => TableView s val -> GHandler sub s (GWidget sub s ())Source
Reexports
module Yesod.TableView.Widget