UNPKG

igniteui-webcomponents-grids

Version:

Ignite UI Web Components grid components.

137 lines (73 loc) 2.53 kB
import { IgcCellType } from './igc-cell-type'; /* jsonAPIManageCollectionInMarkup */ export declare class IgcRowDirective { /** * The data passed to the row component. */ public set data(value: any); public get data(): any; /** * The index of the row. */ public set index(value: number); public get index(): number; /** * Sets whether this specific row has disabled functionality for editing and row selection. * Default value is `false`. */ public set disabled(value: boolean); public get disabled(): boolean; /** * Sets whether the row is pinned. * Default value is `false`. */ public set pinned(value: boolean); public get pinned(): boolean; public get hasMergedCells(): boolean; /** * Gets the expanded state of the row. */ public set expanded(value: boolean); public get expanded(): boolean; public get addRowUI(): any; public get rowHeight(): number; /** * Gets the rendered cells in the row component. */ public get cells(): IgcCellType[]; public get dataRowIndex(): number; // TODO: Refactor public get inEditMode(): boolean; /** * Gets the ID of the row. * A row in the grid is identified either by: * - primaryKey data value, * - the whole data, if the primaryKey is omitted. */ public get key(): any; /** * Updates the specified row object and the data source record with the passed value. */ public update(value: any): void; /** * Removes the specified row from the grid's data source. * This method emits `rowDeleted` event. */ public delete(): void; public isCellActive(visibleColumnIndex: any): void; /** * Pins the specified row. * This method emits `rowPinning`\`rowPinned` event. */ public pin(): void; /** * Unpins the specified row. * This method emits `rowPinning`\`rowPinned` event. */ public unpin(): void; /** * Spawns the add row UI for the specific row. */ public beginAddRow(): void; }