package incr_dom_partial_render

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Incr_dom_partial_render.Table_intfSource

Sourcemodule type Sort_key = sig ... end

Sort_key determines what values the rows are sorted on.

Sourcemodule type Sort_dir = sig ... end

Sort_dir determines the different ways in which the rows can be sorted (e.g. ascending and descending).

Sourcemodule type Sort_spec = sig ... end

Sort_spec defines how rows are sorted in the table.

include module type of struct include Util end
Sourcemodule Focus_dir = Util.Focus_dir
Sourcemodule Margin = Util.Margin
Sourcemodule Scroll_region = Util.Scroll_region
Sourcemodule Float_type = Util.Float_type
Sourcemodule Scroll_result = Util.Scroll_result
Sourcemodule Scroll = Util.Scroll
Sourceval move_focus : ('key, 'value, _) Core.Map.t -> 'key option -> Focus_dir.t -> ('key * 'value) option

move_focus gives the next element starting from the given key in the given direction according to the order of elements in the map. If the given key is None, move_focus returns the first element in the map for direction Next, and the last element in the map for direction Prev. If the given key is already the last element in the table for direction Next, or the first element in the table for direction Prev, then move_focus returns None.

Sourcemodule type Id = sig ... end
Sourcemodule type S = sig ... end
Sourcemodule type Table = sig ... end

The Table widget is used to create incremental partially-rendered tables. It provides sorting, focus and (possibly floating) table header support.

OCaml

Innovation. Community. Security.