Function ratatui_table_ex

Source
#[no_mangle]
pub extern "C" fn ratatui_table_ex(
    handle: *mut c_void,
    area_id: u32,
    data: *const c_char,
    col_types: *const u8,
    col_values: *const u16,
    col_count: u32,
    selected_row: i32,
)
Expand description

Queues an extended Table with typed column widths and optional row highlighting.

data follows the same format as ratatui_table (first line headers, subsequent lines rows; tab-separated cells).

§Parameters

  • col_types / col_values: parallel arrays of length col_count describing each column’s constraint kind and value. Same encoding as ratatui_split. Pass null (or col_count == 0) for equal-width distribution.
  • selected_row: zero-based index of the highlighted row, or -1 for no selection. The highlight uses a bold modifier.