# TableRowBasicProps

Base props shared across table row components

## Definition

```tsx
export interface TableRowBasicProps {
    /** Column definitions with calculated widths */
    columns: { [id: string]: ExtendedColumn };
    /** Custom cell renderer function */
    renderCell?: (row: RowData, column: ExtendedColumn) => React.ReactNode;
    /** Callback when a row is clicked */
    onClickRow?: (e: React.MouseEvent<HTMLDivElement>, row: RowData) => void;
    /** Function to determine if a row is selected */
    isRowSelected?: (row: RowData) => boolean;
    /** Callback when a row is selected */
    onSelectRow?: (row: RowData) => void;
    /** Custom renderer for child rows */
    renderChildRows?: (childRows: RowData[], rowProps: TableRowBasicProps) => React.ReactNode;
    /** Enable editable mode with callbacks */
    editable?: EditableRowConfig;
    /** Enable drag and drop sorting */
    sortable?: boolean;
    /** Unique ID for drag and drop */
    dragId?: string;
}
```

## Usage

```tsx
import { TableRowBasicProps } from 'uxp/components';
```

## Related Types

* [ExtendedColumn](https://help.iviva.com/uxp/v5/additional-resources/types/extendedcolumn)
* [Column](https://help.iviva.com/uxp/v5/additional-resources/types/column)
* [RowData](https://help.iviva.com/uxp/v5/additional-resources/types/rowdata)
* [EditableRowConfig](https://help.iviva.com/uxp/v5/additional-resources/types/editablerowconfig)
