package incr_dom_partial_render
Module Make.ModelSource
val create :
scroll_margin:Util.Margin.t ->
scroll_region:Util.Scroll_region.Id.t ->
float_header:Util.Float_type.t ->
float_first_col:Util.Float_type.t ->
height_guess:float ->
?id:Table_id.t ->
?initial_sort:Base_sort_criteria.t ->
?initial_focus_row:Row_id.t ->
?initial_focus_col:Column_id.t ->
unit ->
tcycle_sorting computes and sets new sort criteria based on the current criteria. If the given column id already exists in the sort criteria, the column's sort direction is updated by calling next_dir on its current sort direction. Otherwise, the sort direction is computed by calling next_dir on None. If the new direction is None, the column id is removed from the sort criteria.
If keep_existing_cols is passed in as an argument, all existing column ids are kept in the sort criteria, and the given column id is added or promoted to the front of the sort criteria list (i.e. given the highest precedence).
If keep_existing_cols is not passed in, all column ids apart from the given one are removed from the sort criteria.
val cycle_sorting :
?keep_existing_cols:unit ->
t ->
Column_id.t ->
next_dir:(Sort_dir.t option -> Sort_dir.t option) ->
tReturns the bounding client rectangle of the table body.