igniteui-react-grids
Version:
Ignite UI React grid components.
40 lines (37 loc) • 1.37 kB
TypeScript
import * as React from 'react';
import { IgrGridActionsBaseDirective, IIgrGridActionsBaseDirectiveProps } from "./igr-grid-actions-base-directive";
import { GridPinningActions } from "./GridPinningActions";
/**
* Grid Pinning Actions for the Action Strip
* @igxParent IgxActionStripComponent
*/
export declare class IgrGridPinningActions<P extends IIgrGridPinningActionsProps = IIgrGridPinningActionsProps> extends IgrGridActionsBaseDirective<P> {
protected createImplementation(): GridPinningActions;
/**
* @hidden
*/
get i(): GridPinningActions;
constructor(props: P & Omit<React.HTMLAttributes<HTMLElement>, keyof P>);
render(): React.DetailedReactHTMLElement<any, HTMLElement>;
protected _elRef: HTMLElement;
protected _getMainRef(ref: any): void;
/**
* Pin the row according to the context.
* @example
* ```typescript
* this.gridPinningActions.pin();
* ```
*/
pin(evt: any): void;
/**
* Unpin the row according to the context.
* @example
* ```typescript
* this.gridPinningActions.unpin();
* ```
*/
unpin(evt: any): void;
scrollToRow(evt: any): void;
}
export interface IIgrGridPinningActionsProps extends IIgrGridActionsBaseDirectiveProps {
}