Skip to content
ConsoleMonster
Class

LiveTableHandle

ConsoleMonster.Widgets

Namespace
ConsoleMonster.Widgets
Assembly
ConsoleMonster
Modifiers
sealed

Changes the rows of a LiveTable through the live session's update queue (thread-safe).

Inheritance

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Constructors

public LiveTableHandle(ILiveDispatcher dispatcher, string widgetId) #

Creates a handle.

Parameters

dispatcher ConsoleMonster.Live.ILiveDispatcher required
The dispatcher (a live session).
widgetId string required
The live table name.

Methods

public void AddRow(string key, params object?[] values) #

Adds a row (or replaces the row with that key).

Parameters

key string required
The stable row key.
values object?[] required
The values, one per column (raw values go through the column presenters).
public void Clear() #

Removes every row; the column widths stay.

public void RemoveRow(string key) #

Removes the row with that key.

Parameters

key string required
The row key.
public void SetFilter(string filter) #

Changes the visible rows without removing any row data.

Parameters

filter string required
public void UpdateRow(string key, params object?[] values) #

Replaces the values of the row with that key (or adds it).

Parameters

key string required
The row key.
values object?[] required
The new values.