package bogue

  1. Overview
  2. Docs

Tables with sortable columns and selectable rows

Dependency graph
type column = {
  1. title : string;
  2. length : int;
  3. rows : int -> Layout.t;
  4. compare : (int -> int -> int) option;
  5. width : int option;
}
type t
val create : ?w:int -> h:int -> ?row_height:int -> ?name:string -> column list -> Layout.t * (Selection.t, Selection.t) Tvar.t
  • returns

    a layout and a Tvar. The Tvar can be used to see which rows were selected by the user, and also to modify the selection if needed.

OCaml

Innovation. Community. Security.