@progress/kendo-vue-grid
Version:
80 lines (79 loc) • 2.13 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { GridRowsSettings } from './GridRowsSettings';
/**
* @hidden
*/
export interface GridRowProps {
/**
* The 'key' prop that may be applied to the row.
*/
key?: number;
/**
* The `data` object that represents the current row.
*/
item: any;
/**
* Indicates whether the row is an alternating row.
*/
isAltRow: boolean;
/**
* Indicates if the row is hidden. The hidden row is rendered above the
* visible area of the Grid. Occurs when the Grid uses virtualization and
* the row is on the current page. When `rowHeight` is set, `isHidden` is always `true`.
*/
isHidden: boolean;
/**
* @hidden
*/
isHighlighted?: boolean;
/**
* The event that is fired when the row is clicked.
*/
onClick: any;
/**
* The name of the field which will provide a Boolean representation of the selected state of the item.
*/
selectedField?: string;
/**
* The row height. Configuring `rowHeight` sets the height to the height of the current Grid row.
*/
rowHeight?: number;
/**
* The type of the row.
*/
rowType: string;
/**
* The method for rendering the cell.
*/
render?: any;
/**
* @hidden
*/
ariaRowIndex?: number;
/**
* @hidden
*/
absoluteRowIndex?: number;
/**
* @hidden
*/
dataIndex?: number;
/**
* Indicates if the row is selected.
*/
isSelected: boolean;
/**
* Indicates if the row exists in one of the pinned row arrays.
*/
isPinned?: boolean;
/**
* Sets a set of rows components that the Grid will render instead of the built-in row.
*/
rows?: GridRowsSettings;
}