Axinom Mosaic Libraries
    Preparing search index...

    Interface ListRowProps<T>

    interface ListRowProps<T extends Data> {
        actionSize: string;
        columnGap: string;
        columns: Column<T>[];
        columnSizes: string;
        data: T;
        horizontalTextAlign?: "right" | "left" | "center";
        inlineMenuActions?: (data: T) => ActionData[];
        isRowDisabled?: boolean;
        itemSelected?: boolean;
        onItemClicked?: LocationDescriptor<unknown> | ((data: T) => void);
        onItemSelected?: (checked: boolean) => void;
        rowHeight?: string;
        selectionMode?: ListSelectMode;
        showActionButton?: boolean;
        showCheckMark?: boolean;
        showItemCheckbox?: boolean;
        textWrap?: boolean;
        verticalTextAlign?: "end" | "center" | "start";
    }

    Type Parameters

    Index

    Properties

    actionSize: string

    Size of action button and checkbox

    columnGap: string

    Header row height

    columns: Column<T>[]

    The column definition

    columnSizes: string

    Spacing between columns

    data: T

    List data

    horizontalTextAlign?: "right" | "left" | "center"

    Horizontal alignment of text (default: left)

    inlineMenuActions?: (data: T) => ActionData[]

    Provide inline actions which are available through '...' context menu

    isRowDisabled?: boolean

    Defines whether a row is disabled (default: false)

    itemSelected?: boolean

    Whether or not the item is selected (default: false)

    onItemClicked?: LocationDescriptor<unknown> | ((data: T) => void)

    Used for when a row is clicked. This can be either a callback function that will be executed or a URL where the user should be navigated to. When the list should navigate the user to e.g. a details page of a entry it is recommended to directly pass the URL here instead of a callback function that does the routing in JavaScript.

    onItemSelected?: (checked: boolean) => void

    A function that is getting called, when the selection state of the row changes.

    rowHeight?: string

    List row height

    selectionMode?: ListSelectMode

    Determines which selection mode the list is in. (default: ListSelectMode.None)

    showActionButton?: boolean

    Defines whether an action button will be rendered (default: true)

    showCheckMark?: boolean

    Defines whether a check mark action button will be rendered (default: true)

    showItemCheckbox?: boolean

    Defines whether a checkbox for each item should be rendered (default: false)

    textWrap?: boolean

    If set to true, column text overflow will be wrapped to a new line. Otherwise, it will be truncated with an ellipsis (default: false)

    verticalTextAlign?: "end" | "center" | "start"

    Vertical alignment of text (default: right)