package ecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'record t

A column of data to be displayed on screen.

val create : ?align_right:bool -> ?max_width:int -> ?min_width:int -> ?pad_right:int -> ?sortable:bool -> header:string -> ('record -> string) -> 'record t

Each time we draw the buffer, the column is resized to fit the widest value (or the header), within the range min_width, max_width inclusive.

val text : ?align_right:bool -> ?max_width:int -> ?min_width:int -> ?pad_right:int -> ?sortable:bool -> header:string -> ('record -> Text.t) -> 'record t
val create_gen : ?align_right:bool -> ?max_width:int -> ?min_width:int -> ?pad_right:int -> header:string -> get_field:('record -> 'field) -> render_field:('field -> Text.t) -> compare_field:('field -> 'field -> int) -> unit -> 'record t
OCaml

Innovation. Community. Security.