Pivot Grid provides a way to present and manipulate data in a pivot table view.

IgxPivotGridModule

Grids & Lists

pivot, grid, table

igx-grid-theme

The Ignite UI Pivot Grid is used for grouping and aggregating simple flat data into a pivot table. Once data has been bound and the dimensions and values configured it can be manipulated via sorting and filtering.

<igx-pivot-grid [data]="data" [pivotConfiguration]="configuration">
</igx-pivot-grid>

Hierarchy

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • ...args: any[]

    Returns IgcPivotGridComponent

Properties

ATTRIBUTE_NODE: number
CDATA_SECTION_NODE: number

node is a CDATASection node.

COMMENT_NODE: number

node is a Comment node.

DOCUMENT_FRAGMENT_NODE: number

node is a DocumentFragment node.

DOCUMENT_NODE: number

node is a document.

DOCUMENT_POSITION_CONTAINED_BY: number

Set when other is a descendant of node.

DOCUMENT_POSITION_CONTAINS: number

Set when other is an ancestor of node.

DOCUMENT_POSITION_DISCONNECTED: number

Set when node and other are not in the same tree.

DOCUMENT_POSITION_FOLLOWING: number

Set when other is following node.

DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number
DOCUMENT_POSITION_PRECEDING: number

Set when other is preceding node.

DOCUMENT_TYPE_NODE: number

node is a doctype.

ELEMENT_NODE: number

node is an element.

ENTITY_NODE: number
ENTITY_REFERENCE_NODE: number
NOTATION_NODE: number
PROCESSING_INSTRUCTION_NODE: number

node is a ProcessingInstruction node.

TEXT_NODE: number

node is a Text node.

accessKey: string
accessKeyLabel: string
ariaAtomic: string
ariaAutoComplete: string
ariaBusy: string
ariaChecked: string
ariaColCount: string
ariaColIndex: string
ariaColIndexText: string
ariaColSpan: string
ariaCurrent: string
ariaDisabled: string
ariaExpanded: string
ariaHasPopup: string
ariaHidden: string
ariaInvalid: string
ariaKeyShortcuts: string
ariaLabel: string
ariaLevel: string
ariaLive: string
ariaModal: string
ariaMultiLine: string
ariaMultiSelectable: string
ariaOrientation: string
ariaPlaceholder: string
ariaPosInSet: string
ariaPressed: string
ariaReadOnly: string
ariaRequired: string
ariaRoleDescription: string
ariaRowCount: string
ariaRowIndex: string
ariaRowIndexText: string
ariaRowSpan: string
ariaSelected: string
ariaSetSize: string
ariaSort: string
ariaValueMax: string
ariaValueMin: string
ariaValueNow: string
ariaValueText: string
assignedSlot: HTMLSlotElement
attributes: NamedNodeMap
autocapitalize: string
autofocus: boolean
baseURI: string

Returns node's node document's document base URL.

childElementCount: number
childNodes: NodeListOf<ChildNode>

Returns the children.

children: HTMLCollection

Returns the child elements.

classList: DOMTokenList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.

className: string

Returns the value of element's class content attribute. Can be set to change it.

clientHeight: number
clientLeft: number
clientTop: number
clientWidth: number
contentEditable: string
dataset: DOMStringMap
dir: string
draggable: boolean
enterKeyHint: string
firstChild: ChildNode

Returns the first child.

firstElementChild: Element

Returns the first child that is an element, and null otherwise.

hidden: boolean
id: string

Returns the value of element's id content attribute. Can be set to change it.

inert: boolean
innerHTML: string
innerText: string
inputMode: string
isConnected: boolean

Returns true if node is connected and false otherwise.

isContentEditable: boolean
lang: string
lastChild: ChildNode

Returns the last child.

lastElementChild: Element

Returns the last child that is an element, and null otherwise.

localName: string

Returns the local name.

namespaceURI: string

Returns the namespace.

nextElementSibling: Element

Returns the first following sibling that is an element, and null otherwise.

nextSibling: ChildNode

Returns the next sibling.

nodeName: string

Returns a string appropriate for the type of node.

nodeType: number

Returns the type of node.

nodeValue: string
nonce?: string
offsetHeight: number
offsetLeft: number
offsetParent: Element
offsetTop: number
offsetWidth: number
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any)

Fires when the user aborts the download.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: UIEvent

        The event.

      Returns any

onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: AnimationEvent

      Returns any

onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: AnimationEvent

      Returns any

onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: AnimationEvent

      Returns any

onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: AnimationEvent

      Returns any

onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: MouseEvent

      Returns any

onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: InputEvent

      Returns any

onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any)

Fires when the object loses the input focus.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: FocusEvent

        The focus event.

      Returns any

oncancel: ((this: GlobalEventHandlers, ev: Event) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

      Returns any

oncanplay: ((this: GlobalEventHandlers, ev: Event) => any)

Occurs when playback is possible, but would require further buffering.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

      Returns any

onchange: ((this: GlobalEventHandlers, ev: Event) => any)

Fires when the contents of the object or selection have changed.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any)

Fires when the user clicks the left mouse button on the object

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: MouseEvent

        The mouse event.

      Returns any

onclose: ((this: GlobalEventHandlers, ev: Event) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

      Returns any

oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any)

Fires when the user clicks the right mouse button in the client area, opening the context menu.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: MouseEvent

        The mouse event.

      Returns any

oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: DocumentAndElementEventHandlers
      • ev: ClipboardEvent

      Returns any

oncuechange: ((this: GlobalEventHandlers, ev: Event) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

      Returns any

oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: DocumentAndElementEventHandlers
      • ev: ClipboardEvent

      Returns any

ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any)

Fires when the user double-clicks the object.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: MouseEvent

        The mouse event.

      Returns any

ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any)

Fires on the source object continuously during a drag operation.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: DragEvent

        The event.

      Returns any

ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any)

Fires on the source object when the user releases the mouse at the close of a drag operation.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: DragEvent

        The event.

      Returns any

ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any)

Fires on the target element when the user drags the object to a valid drop target.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: DragEvent

        The drag event.

      Returns any

ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any)

Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: DragEvent

        The drag event.

      Returns any

ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any)

Fires on the target element continuously while the user drags the object over a valid drop target.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: DragEvent

        The event.

      Returns any

ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any)

Fires on the source object when the user starts to drag a text selection or selected object.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: DragEvent

        The event.

      Returns any

ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: DragEvent

      Returns any

ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any)

Occurs when the duration attribute is updated.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onemptied: ((this: GlobalEventHandlers, ev: Event) => any)

Occurs when the media element is reset to its initial state.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onended: ((this: GlobalEventHandlers, ev: Event) => any)

Occurs when the end of playback is reached.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event

      Returns any

onerror: OnErrorEventHandlerNonNull

Fires when an error occurs during object loading.

The event.

onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any)

Fires when the object receives focus.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: FocusEvent

        The event.

      Returns any

onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: FormDataEvent

      Returns any

onfullscreenchange: ((this: Element, ev: Event) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: Element
      • ev: Event

      Returns any

onfullscreenerror: ((this: Element, ev: Event) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: Element
      • ev: Event

      Returns any

ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: PointerEvent

      Returns any

oninput: ((this: GlobalEventHandlers, ev: Event) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

      Returns any

oninvalid: ((this: GlobalEventHandlers, ev: Event) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

      Returns any

onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any)

Fires when the user presses a key.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: KeyboardEvent

        The keyboard event

      Returns any

onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any)

Fires when the user presses an alphanumeric key.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: KeyboardEvent

        The event.

      Returns any

onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any)

Fires when the user releases a key.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: KeyboardEvent

        The keyboard event

      Returns any

onload: ((this: GlobalEventHandlers, ev: Event) => any)

Fires immediately after the browser loads the object.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any)

Occurs when media data is loaded at the current playback position.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any)

Occurs when the duration and dimensions of the media have been determined.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onloadstart: ((this: GlobalEventHandlers, ev: Event) => any)

Occurs when Internet Explorer begins looking for media data.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: PointerEvent

      Returns any

onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any)

Fires when the user clicks the object with either mouse button.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: MouseEvent

        The mouse event.

      Returns any

onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: MouseEvent

      Returns any

onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: MouseEvent

      Returns any

onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any)

Fires when the user moves the mouse over the object.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: MouseEvent

        The mouse event.

      Returns any

onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any)

Fires when the user moves the mouse pointer outside the boundaries of the object.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: MouseEvent

        The mouse event.

      Returns any

onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any)

Fires when the user moves the mouse pointer into the object.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: MouseEvent

        The mouse event.

      Returns any

onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any)

Fires when the user releases a mouse button while the mouse is over the object.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: MouseEvent

        The mouse event.

      Returns any

onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: DocumentAndElementEventHandlers
      • ev: ClipboardEvent

      Returns any

onpause: ((this: GlobalEventHandlers, ev: Event) => any)

Occurs when playback is paused.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onplay: ((this: GlobalEventHandlers, ev: Event) => any)

Occurs when the play method is requested.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onplaying: ((this: GlobalEventHandlers, ev: Event) => any)

Occurs when the audio or video has started playing.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: PointerEvent

      Returns any

onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: PointerEvent

      Returns any

onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: PointerEvent

      Returns any

onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: PointerEvent

      Returns any

onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: PointerEvent

      Returns any

onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: PointerEvent

      Returns any

onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: PointerEvent

      Returns any

onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: PointerEvent

      Returns any

onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any)

Occurs to indicate progress while downloading media data.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: ProgressEvent<EventTarget>

        The event.

      Returns any

onratechange: ((this: GlobalEventHandlers, ev: Event) => any)

Occurs when the playback rate is increased or decreased.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onreset: ((this: GlobalEventHandlers, ev: Event) => any)

Fires when the user resets a form.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: UIEvent

      Returns any

onscroll: ((this: GlobalEventHandlers, ev: Event) => any)

Fires when the user repositions the scroll box in the scroll bar on the object.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: SecurityPolicyViolationEvent

      Returns any

onseeked: ((this: GlobalEventHandlers, ev: Event) => any)

Occurs when the seek operation ends.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onseeking: ((this: GlobalEventHandlers, ev: Event) => any)

Occurs when the current playback position is moved.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onselect: ((this: GlobalEventHandlers, ev: Event) => any)

Fires when the current selection changes.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

      Returns any

onselectstart: ((this: GlobalEventHandlers, ev: Event) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

      Returns any

onslotchange: ((this: GlobalEventHandlers, ev: Event) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

      Returns any

onstalled: ((this: GlobalEventHandlers, ev: Event) => any)

Occurs when the download has stopped.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: SubmitEvent

      Returns any

onsuspend: ((this: GlobalEventHandlers, ev: Event) => any)

Occurs if the load operation has been intentionally halted.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any)

Occurs to indicate the current playback position.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

ontoggle: ((this: GlobalEventHandlers, ev: Event) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

      Returns any

ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: TouchEvent

      Returns any

ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: TouchEvent

      Returns any

ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: TouchEvent

      Returns any

ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: TouchEvent

      Returns any

ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: TransitionEvent

      Returns any

ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: TransitionEvent

      Returns any

ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: TransitionEvent

      Returns any

ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: TransitionEvent

      Returns any

onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any)

Occurs when the volume is changed, or playback is muted or unmuted.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onwaiting: ((this: GlobalEventHandlers, ev: Event) => any)

Occurs when playback stops because the next frame of a video resource is not available.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

        The event.

      Returns any

onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any)

This is a legacy alias of onanimationend.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

      Returns any

onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any)

This is a legacy alias of onanimationiteration.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

      Returns any

onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any)

This is a legacy alias of onanimationstart.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

      Returns any

onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any)

This is a legacy alias of ontransitionend.

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: Event

      Returns any

onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any)

Type declaration

    • (this, ev): any
    • Parameters

      • this: GlobalEventHandlers
      • ev: WheelEvent

      Returns any

outerHTML: string
outerText: string
ownerDocument: Document

Returns the node document. Returns null for documents.

parentElement: HTMLElement

Returns the parent element.

parentNode: ParentNode

Returns the parent.

part: DOMTokenList
prefix: string

Returns the namespace prefix.

previousElementSibling: Element

Returns the first preceding sibling that is an element, and null otherwise.

previousSibling: ChildNode

Returns the previous sibling.

role: string
scrollHeight: number
scrollLeft: number
scrollTop: number
scrollWidth: number
shadowRoot: ShadowRoot

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.

slot: string

Returns the value of element's slot content attribute. Can be set to change it.

spellcheck: boolean
style: CSSStyleDeclaration
tabIndex: number
tagName: string

Returns the HTML-uppercased qualified name.

textContent: string
title: string
translate: boolean
tagName: string

Returns the HTML-uppercased qualified name.

Accessors

  • get actionStripComponents(): IgcActionStripToken[]
  • Returns IgcActionStripToken[]

  • get addRowEmptyTemplate(): IgcRenderFunction<void>
  • Returns IgcRenderFunction<void>

  • set addRowEmptyTemplate(value): void
  • Gets/Sets a custom template for adding row UI when grid is empty.

    <igx-grid [id]="'igx-grid-1'" [data]="Data" [addRowEmptyTemplate]="myTemplate" [autoGenerate]="true"></igx-grid>
    

    Parameters

    Returns void

  • get advancedFilteringExpressionsTree(): IgcFilteringExpressionsTree
  • Returns IgcFilteringExpressionsTree

  • set advancedFilteringExpressionsTree(value): void
  • Gets/Sets the advanced filtering state.

    let advancedFilteringExpressionsTree = this.grid.advancedFilteringExpressionsTree;
    this.grid.advancedFilteringExpressionsTree = logic;

    Parameters

    Returns void

  • get allDimensions(): IgcPivotDimension[]
  • Gets the full list of dimensions.

    const dimensions = this.grid.allDimensions;
    

    Returns IgcPivotDimension[]

  • get allowAdvancedFiltering(): boolean
  • Returns boolean

  • set allowAdvancedFiltering(value): void
  • Gets/Sets a value indicating whether the advanced filtering is enabled.

    <igx-grid #grid [data]="localData" [allowAdvancedFiltering]="true" [autoGenerate]="true"></igx-grid>
    

    Parameters

    • value: boolean

    Returns void

  • get allowFiltering(): boolean
  • Returns boolean

  • set allowFiltering(value): void
  • Gets/Sets if the filtering is enabled.

    <igx-grid #grid [data]="localData" [allowFiltering]="true" [height]="'305px'" [autoGenerate]="true"></igx-grid>
    

    Parameters

    • value: boolean

    Returns void

  • get autoGenerate(): boolean
  • Returns boolean

  • set autoGenerate(value): void
  • Gets/Sets whether to auto-generate the columns.

    The default value is false. When set to true, it will override all columns declared through code or in markup.

    <igx-grid [data]="Data" [autoGenerate]="true"></igx-grid>
    

    Parameters

    • value: boolean

    Returns void

  • get autoGenerateConfig(): boolean
  • Returns boolean

  • set autoGenerateConfig(value): void
  • Gets/Sets whether to auto-generate the pivot configuration based on the provided data.

    The default value is false. When set to true, it will override all dimensions and values in the pivotConfiguration.

    <igx-pivot-grid [data]="Data" [autoGenerateConfig]="true"></igx-pivot-grid>
    

    Parameters

    • value: boolean

    Returns void

  • get autoGenerateExclude(): string[]
  • Returns string[]

  • set autoGenerateExclude(value): void
  • Gets/Sets a list of property keys to be excluded from the generated column collection

    The collection is only used during initialization and changing it will not cause any changes in the generated columns at runtime unless the grid is destroyed and recreated. To modify the columns visible in the UI at runtime, please use their hidden property.

    <igx-grid data=[Data] [autoGenerate]="true" [autoGenerateExclude]="['ProductName', 'Count']"></igx-grid>
    
    const Data = [{ 'Id': '1', 'ProductName': 'name1', 'Description': 'description1', 'Count': 5 }]
    

    Parameters

    • value: string[]

    Returns void

  • get batchEditing(): boolean
  • Returns boolean

  • set batchEditing(value): void
  • Gets/Sets whether the grid has batch editing enabled. When batch editing is enabled, changes are not made directly to the underlying data. Instead, they are stored as transactions, which can later be committed w/ the commit method.

    <igx-grid [batchEditing]="true" [data]="someData">
    </igx-grid>

    Parameters

    • value: boolean

    Returns void

  • get cellSelection(): GridSelectionMode
  • Returns GridSelectionMode

  • set cellSelection(value): void
  • Gets/Sets cell selection mode.

    By default the cell selection mode is multiple

    Parameters

    Returns void

  • get clipboardOptions(): IgcClipboardOptions
  • Returns IgcClipboardOptions

  • set clipboardOptions(value): void
  • Controls the copy behavior of the grid.

    Parameters

    Returns void

  • get columnList(): IgcColumnComponent[]
  • Returns IgcColumnComponent[]

  • get columnSelection(): GridSelectionMode
  • Returns GridSelectionMode

  • set columnSelection(value): void
  • Gets/Sets column selection mode

    By default the row selection mode is none

    Parameters

    Returns void

  • get columnWidth(): string
  • Returns string

  • set columnWidth(value): void
  • Gets/Sets the default width of the columns.

    <igx-grid #grid [data]="localData" [columnWidth]="100" [autoGenerate]="true"></igx-grid>
    

    Parameters

    • value: string

    Returns void

  • get columns(): IgcColumnComponent[]
  • Gets an array of IgxColumnComponents.

    const colums = this.grid.columns.
    

    Returns IgcColumnComponent[]

  • get data(): any[]
  • Returns any[]

  • set data(value): void
  • Gets/Sets the array of data that populates the component.

    <igx-pivot-grid [data]="Data"></igx-pivot-grid>
    

    Parameters

    • value: any[]

    Returns void

  • get dataCloneStrategy(): IgcDataCloneStrategy
  • Returns IgcDataCloneStrategy

  • set dataCloneStrategy(value): void
  • Gets/Sets the data clone strategy of the grid when in edit mode.

     <igx-grid #grid [data]="localData" [dataCloneStrategy]="customCloneStrategy"></igx-grid>
    

    Parameters

    Returns void

  • get dataRowList(): IgcRowDirective[]
  • A list of currently rendered IgxGridRowComponent's.

    const dataList = this.grid.dataRowList;
    

    Returns IgcRowDirective[]

  • get dataView(): any[]
  • Returns the currently transformed paged/filtered/sorted/grouped/pinned/unpinned row data, displayed in the grid.

         const dataView = this.grid.dataView;
    

    Returns any[]

  • get defaultExpandState(): boolean
  • Returns boolean

  • set defaultExpandState(value): void
  • Gets/Sets the default expand state for all rows.

    Parameters

    • value: boolean

    Returns void

  • get defaultHeaderGroupMinWidth(): number
  • Returns the IgxGridHeaderGroupComponent's minimum allowed width.

    Used internally for restricting header group component width. The values below depend on the header cell default right/left padding values.

    Returns number

  • get defaultRowHeight(): number
  • Gets the default row height.

    const rowHeigh = this.grid.defaultRowHeight;
    

    Returns number

  • get dimensionsSortingExpressions(): IgcSortingExpression[]
  • Gets the sorting expressions generated for the dimensions.

    const expressions = this.grid.dimensionsSortingExpressions;
    

    Returns IgcSortingExpression[]

  • get dragGhostCustomTemplate(): IgcRenderFunction<IgcGridRowDragGhostContext>
  • Returns IgcRenderFunction<IgcGridRowDragGhostContext>

  • set dragGhostCustomTemplate(value): void
  • Gets the custom template, if any, used for row drag ghost.

    Parameters

    Returns void

  • get dragIndicatorIconTemplate(): IgcRenderFunction<IgcGridEmptyTemplateContext>
  • Returns IgcRenderFunction<IgcGridEmptyTemplateContext>

  • set dragIndicatorIconTemplate(value): void
  • The custom template, if any, that should be used when rendering the row drag indicator icon

    Parameters

    Returns void

  • get emptyFilteredGridMessage(): string
  • Returns string

  • set emptyFilteredGridMessage(value): void
  • Gets/Sets the message displayed when there are no records and the grid is filtered.

    <igx-grid #grid [data]="Data" [emptyGridMessage]="'The grid is empty'" [autoGenerate]="true"></igx-grid>
    

    Parameters

    • value: string

    Returns void

  • get emptyGridMessage(): string
  • Returns string

  • set emptyGridMessage(value): void
  • Get/Sets the message displayed when there are no records.

    <igx-grid #grid [data]="Data" [emptyGridMessage]="'The grid is empty'" [autoGenerate]="true"></igx-grid>
    

    Parameters

    • value: string

    Returns void

  • get emptyGridTemplate(): IgcRenderFunction<void>
  • Returns IgcRenderFunction<void>

  • set emptyGridTemplate(value): void
  • Gets/Sets a custom template when empty.

    <igx-grid [id]="'igx-grid-1'" [data]="Data" [emptyGridTemplate]="myTemplate" [autoGenerate]="true"></igx-grid>
    

    Parameters

    Returns void

  • get emptyPivotGridTemplate(): IgcRenderFunction<void>
  • Returns IgcRenderFunction<void>

  • set emptyPivotGridTemplate(value): void
  • Gets/Sets a custom template when pivot grid is empty.

    <igx-pivot-grid [emptyPivotGridTemplate]="myTemplate"><igx-pivot-grid>
    

    Parameters

    Returns void

  • get excelStyleHeaderIconTemplate(): IgcRenderFunction<IgcGridHeaderTemplateContext>
  • Returns IgcRenderFunction<IgcGridHeaderTemplateContext>

  • set excelStyleHeaderIconTemplate(value): void
  • Gets the excel style header icon.

    Parameters

    Returns void

  • get filterMode(): FilterMode
  • Returns FilterMode

  • set filterMode(value): void
  • Gets/Sets the filter mode.

    <igx-grid #grid [data]="localData" [filterMode]="'quickFilter'" [height]="'305px'" [autoGenerate]="true"></igx-grid>
    

    By default it's set to FilterMode.quickFilter.

    Parameters

    Returns void

  • get filterStrategy(): IgcFilteringStrategy
  • Returns IgcFilteringStrategy

  • set filterStrategy(value): void
  • Gets/Sets the filtering strategy of the grid.

     <igx-grid #grid [data]="localData" [filterStrategy]="filterStrategy"></igx-grid>
    

    Parameters

    Returns void

  • get filteredData(): any
  • Returns an array of objects containing the filtered data.

    let filteredData = this.grid.filteredData;
    

    Returns any

  • get filteredSortedData(): any[]
  • Returns an array containing the filtered sorted data.

    const filteredSortedData = this.grid1.filteredSortedData;
    

    Returns any[]

  • get filteringExpressionsTree(): IgcFilteringExpressionsTree
  • Returns IgcFilteringExpressionsTree

  • set filteringExpressionsTree(value): void
  • Gets/Sets the filtering state.

    <igx-grid #grid [data]="Data" [autoGenerate]="true" [(filteringExpressionsTree)]="model.filteringExpressions"></igx-grid>
    

    Supports two-way binding.

    Parameters

    Returns void

  • get filteringLogic(): FilteringLogic
  • Returns FilteringLogic

  • set filteringLogic(value): void
  • Gets/Sets the filtering logic of the IgxGridComponent.

    The default is AND.

    <igx-grid [data]="Data" [autoGenerate]="true" [filteringLogic]="filtering"></igx-grid>
    

    Parameters

    Returns void

  • get headSelectorTemplate(): IgcRenderFunction<IgcHeadSelectorTemplateContext>
  • Returns IgcRenderFunction<IgcHeadSelectorTemplateContext>

  • set headSelectorTemplate(value): void
  • Gets the header row selector template.

    Parameters

    Returns void

  • get headerCollapsedIndicatorTemplate(): IgcRenderFunction<IgcGridTemplateContext>
  • Returns IgcRenderFunction<IgcGridTemplateContext>

  • set headerCollapsedIndicatorTemplate(value): void
  • Gets the row collapse indicator template.

    Parameters

    Returns void

  • get headerExpandedIndicatorTemplate(): IgcRenderFunction<IgcGridTemplateContext>
  • Returns IgcRenderFunction<IgcGridTemplateContext>

  • set headerExpandedIndicatorTemplate(value): void
  • Gets the header expand indicator template.

    Parameters

    Returns void

  • get height(): string
  • Returns string

  • set height(value): void
  • Gets/Sets the height.

    <igx-grid #grid [data]="Data" [height]="'305px'" [autoGenerate]="true"></igx-grid>
    

    Parameters

    • value: string

    Returns void

  • get hiddenColumnsCount(): number
  • Gets the number of hidden columns.

    const hiddenCol = this.grid.hiddenColumnsCount;

    Returns number

  • get hideRowSelectors(): boolean
  • Returns boolean

  • set hideRowSelectors(value): void
  • Gets/Sets if the row selectors are hidden.

    By default row selectors are shown

    Parameters

    • value: boolean

    Returns void

  • get isLoading(): boolean
  • Returns boolean

  • set isLoading(value): void
  • Gets/Sets whether the grid is going to show a loading indicator.

    <igx-grid #grid [data]="Data" [isLoading]="true" [autoGenerate]="true"></igx-grid>
    

    Parameters

    • value: boolean

    Returns void

  • get lastSearchInfo(): IgcSearchInfo
  • Represents the last search information.

    Returns IgcSearchInfo

  • get loadingGridTemplate(): IgcRenderFunction<void>
  • Returns IgcRenderFunction<void>

  • set loadingGridTemplate(value): void
  • Gets/Sets a custom template when loading.

    <igx-grid [id]="'igx-grid-1'" [data]="Data" [loadingGridTemplate]="myTemplate" [autoGenerate]="true"></igx-grid>
    

    Parameters

    Returns void

  • get locale(): string
  • Returns string

  • set locale(value): void
  • Gets/Sets the locale.

    If not set, returns browser's language.

    Parameters

    • value: string

    Returns void

  • get moving(): boolean
  • Returns boolean

  • set moving(value): void
  • Controls whether columns moving is enabled in the grid.

    Parameters

    • value: boolean

    Returns void

  • get outlet(): IgcOverlayOutletDirective
  • Returns IgcOverlayOutletDirective

  • set outlet(value): void
  • Gets/Sets the outlet used to attach the grid's overlays to.

    If set, returns the outlet defined outside the grid. Otherwise returns the grid's internal outlet directive.

    Parameters

    Returns void

  • get paginationComponents(): IgcPaginatorComponent[]
  • Returns IgcPaginatorComponent[]

  • get pagingMode(): GridPagingMode
  • Returns GridPagingMode

  • set pagingMode(value): void
  • Parameters

    Returns void

  • get pinnedColumns(): IgcColumnComponent[]
  • Gets an array of the pinned IgxColumnComponents.

    const pinnedColumns = this.grid.pinnedColumns.
    

    Returns IgcColumnComponent[]

  • get pinnedColumnsCount(): number
  • Gets the number of pinned columns.

    Returns number

  • get pinnedRows(): IgcGridRowComponent[]
  • Gets an array of the pinned IgxRowComponents.

    const pinnedRow = this.grid.pinnedRows;
    

    Returns IgcGridRowComponent[]

  • get pinning(): IgcPinningConfig
  • Returns IgcPinningConfig

  • set pinning(value): void
  • Gets/Sets the initial pinning configuration.

    Allows to apply pinning the columns to the start or the end. Note that pinning to both sides at a time is not allowed.

    <igx-grid [pinning]="pinningConfig"></igx-grid>
    

    Parameters

    Returns void

  • get pivotConfiguration(): IgcPivotConfiguration
  • Returns IgcPivotConfiguration

  • set pivotConfiguration(value): void
  • Gets/Sets the pivot configuration with all related dimensions and values.

    <igx-pivot-grid [pivotConfiguration]="config"></igx-pivot-grid>
    

    Parameters

    Returns void

  • get pivotUI(): IgcPivotUISettings
  • Returns IgcPivotUISettings

  • set pivotUI(value): void
  • Parameters

    Returns void

  • get primaryKey(): string
  • Returns string

  • set primaryKey(value): void
  • Gets/Sets the primary key.

    <igx-grid #grid [data]="localData" [primaryKey]="'ProductID'" [autoGenerate]="true"></igx-grid>
    

    Parameters

    • value: string

    Returns void

  • get resourceStrings(): IgcGridResourceStrings
  • Returns IgcGridResourceStrings

  • set resourceStrings(value): void
  • Gets/Sets the resource strings.

    By default it uses EN resources.

    Parameters

    Returns void

  • get rowAddTextTemplate(): IgcRenderFunction<IgcGridEmptyTemplateContext>
  • Returns IgcRenderFunction<IgcGridEmptyTemplateContext>

  • set rowAddTextTemplate(value): void
  • Gets the row add text template.

    Parameters

    Returns void

  • get rowClasses(): any
  • Returns any

  • set rowClasses(value): void
  • Sets a conditional class selector to the grid's row element. Accepts an object literal, containing key-value pairs, where the key is the name of the CSS class and the value is either a callback function that returns a boolean, or boolean, like so:

    callback = (row: RowType) => { return row.selected > 6; }
    rowClasses = { 'className' : this.callback };
    <igx-grid #grid [data]="Data" [rowClasses] = "rowClasses" [autoGenerate]="true"></igx-grid>
    

    IgxColumnComponent

    Parameters

    • value: any

    Returns void

  • get rowCollapsedIndicatorTemplate(): IgcRenderFunction<IgcGridRowTemplateContext>
  • Returns IgcRenderFunction<IgcGridRowTemplateContext>

  • set rowCollapsedIndicatorTemplate(value): void
  • Gets the row collapse indicator template.

    Parameters

    Returns void

  • get rowDraggable(): boolean
  • Returns boolean

  • set rowDraggable(value): void
  • Gets/Sets whether rows can be moved.

    <igx-grid #grid [rowDraggable]="true"></igx-grid>
    

    Parameters

    • value: boolean

    Returns void

  • get rowEditTextTemplate(): IgcRenderFunction<IgcGridRowEditTextTemplateContext>
  • Returns IgcRenderFunction<IgcGridRowEditTextTemplateContext>

  • set rowEditTextTemplate(value): void
  • Gets the row edit text template.

    Parameters

    Returns void

  • get rowEditable(): boolean
  • Returns boolean

  • set rowEditable(value): void
  • Gets/Sets whether the rows are editable.

    By default it is set to false.

    <igx-grid #grid [rowEditable]="true" [primaryKey]="'ProductID'" ></igx-grid>
    

    Parameters

    • value: boolean

    Returns void

  • get rowExpandedIndicatorTemplate(): IgcRenderFunction<IgcGridRowTemplateContext>
  • Returns IgcRenderFunction<IgcGridRowTemplateContext>

  • set rowExpandedIndicatorTemplate(value): void
  • Gets the row expand indicator template.

    Parameters

    Returns void

  • get rowHeight(): number
  • Returns number

  • set rowHeight(value): void
  • Gets/Sets the row height.

    <igx-grid #grid [data]="localData" [rowHeight]="100" [autoGenerate]="true"></igx-grid>
    

    Parameters

    • value: number

    Returns void

  • get rowList(): IgcRowDirective[]
  • A list of IgxGridRowComponent.

    const rowList = this.grid.rowList;
    

    Returns IgcRowDirective[]

  • get rowSelection(): GridSelectionMode
  • Returns GridSelectionMode

  • set rowSelection(value): void
  • Gets/Sets row selection mode

    By default the row selection mode is 'none' Note that in IgxGrid and IgxHierarchicalGrid 'multipleCascade' behaves like 'multiple'

    Parameters

    Returns void

  • get rowSelectorTemplate(): IgcRenderFunction<IgcRowSelectorTemplateContext>
  • Returns IgcRenderFunction<IgcRowSelectorTemplateContext>

  • set rowSelectorTemplate(value): void
  • Gets the row selector template.

    Parameters

    Returns void

  • get rowStyles(): any
  • Returns any

  • set rowStyles(value): void
  • Sets conditional style properties on the grid row element. It accepts an object literal where the keys are the style properties and the value is an expression to be evaluated.

    styles = {
    background: 'yellow',
    color: (row: RowType) => row.selected : 'red': 'white'
    }
    <igx-grid #grid [data]="Data" [rowStyles]="styles" [autoGenerate]="true"></igx-grid>
    

    IgxColumnComponent

    Parameters

    • value: any

    Returns void

  • get selectRowOnClick(): boolean
  • Returns boolean

  • set selectRowOnClick(value): void
  • Gets/Sets whether clicking over a row should select/deselect it

    By default it is set to true

    Parameters

    • value: boolean

    Returns void

  • get selectedRows(): any[]
  • Gets/Sets the current selection state.

    Represents the selected rows' IDs (primary key or rowData)

    <igx-grid [data]="localData" primaryKey="ID" rowSelection="multiple" [selectedRows]="[0, 1, 2]"><igx-grid>
    

    Returns any[]

  • get shouldGenerate(): boolean
  • Returns boolean

  • set shouldGenerate(value): void
  • Gets/Sets whether the columns should be auto-generated once again after the initialization of the grid

    This will allow to bind the grid to remote data and having auto-generated columns at the same time. Note that after generating the columns, this property would be disabled to avoid re-creating columns each time a new data is assigned.

     this.grid.shouldGenerate = true;
    

    Column re-creation now relies on autoGenerate instead.

    Parameters

    • value: boolean

    Returns void

  • get showSummaryOnCollapse(): boolean
  • Returns boolean

  • set showSummaryOnCollapse(value): void
  • Controls whether the summary row is visible when groupBy/parent row is collapsed.

    <igx-grid #grid [data]="localData" [showSummaryOnCollapse]="true" [autoGenerate]="true"></igx-grid>
    

    By default showSummaryOnCollapse is set to 'false' which means that the summary row is not visible when the groupBy/parent row is collapsed.

    Parameters

    • value: boolean

    Returns void

  • get snackbarDisplayTime(): number
  • Returns number

  • set snackbarDisplayTime(value): void
  • Gets/Sets the display time for the row adding snackbar notification.

    By default it is 6000ms.

    Parameters

    • value: number

    Returns void

  • get sortAscendingHeaderIconTemplate(): IgcRenderFunction<IgcGridHeaderTemplateContext>
  • Returns IgcRenderFunction<IgcGridHeaderTemplateContext>

  • set sortAscendingHeaderIconTemplate(value): void
  • The custom template, if any, that should be used when rendering a header sorting indicator when columns are sorted in asc order.

    Parameters

    Returns void

  • get sortDescendingHeaderIconTemplate(): IgcRenderFunction<IgcGridHeaderTemplateContext>
  • Returns IgcRenderFunction<IgcGridHeaderTemplateContext>

  • set sortDescendingHeaderIconTemplate(value): void
  • The custom template, if any, that should be used when rendering a header sorting indicator when columns are sorted in desc order.

    Parameters

    Returns void

  • get sortHeaderIconTemplate(): IgcRenderFunction<IgcGridHeaderTemplateContext>
  • Returns IgcRenderFunction<IgcGridHeaderTemplateContext>

  • set sortHeaderIconTemplate(value): void
  • Gets custom template, if any, that should be used when rendering a header sorting indicator when columns are not sorted.

    Parameters

    Returns void

  • get sortStrategy(): IgcGridSortingStrategy
  • Returns IgcGridSortingStrategy

  • set sortStrategy(value): void
  • Gets/Sets the sorting strategy of the grid.

     <igx-grid #grid [data]="localData" [sortStrategy]="sortStrategy"></igx-grid>
    

    Parameters

    Returns void

  • get sortingExpressions(): IgcSortingExpression[]
  • Returns IgcSortingExpression[]

  • set sortingExpressions(value): void
  • Gets/Sets the sorting state.

    Supports two-way data binding.

    <igx-grid #grid [data]="Data" [autoGenerate]="true" [(sortingExpressions)]="model.sortingExpressions"></igx-grid>
    

    Parameters

    Returns void

  • get sortingOptions(): IgcSortingOptions
  • Returns IgcSortingOptions

  • set sortingOptions(value): void
  • Gets/Sets the sorting options - single or multiple sorting. Accepts an ISortingOptions object with any of the mode properties.

    const _sortingOptions: ISortingOptions = {
    mode: 'single'
    }
    ```html
    <igx-grid [sortingOptions]="sortingOptions"><igx-grid>

    Parameters

    Returns void

  • get summaryCalculationMode(): GridSummaryCalculationMode
  • Returns GridSummaryCalculationMode

  • set summaryCalculationMode(value): void
  • Gets/Sets the summary calculation mode.

    <igx-grid #grid [data]="localData" summaryCalculationMode="rootLevelOnly" [autoGenerate]="true"></igx-grid>
    

    By default it is rootAndChildLevels which means the summaries are calculated for the root level and each child level.

    Parameters

    Returns void

  • get summaryPosition(): GridSummaryPosition
  • Returns GridSummaryPosition

  • set summaryPosition(value): void
  • Gets/Sets the summary position.

    <igx-grid #grid [data]="localData" summaryPosition="top" [autoGenerate]="true"></igx-grid>
    

    By default it is bottom.

    Parameters

    Returns void

  • get summaryRowHeight(): number
  • Returns number

  • set summaryRowHeight(value): void
  • Get/Set IgxSummaryRow height

    Parameters

    • value: number

    Returns void

  • get superCompactMode(): boolean
  • Returns boolean

  • set superCompactMode(value): void
  • Enables a super compact theme for the component.

    Overrides the grid size option if one is set.

    <igx-pivot-grid [superCompactMode]="true"></igx-pivot-grid>
    

    Parameters

    • value: boolean

    Returns void

  • get toolbar(): IgcGridToolbarComponent[]
  • Returns IgcGridToolbarComponent[]

  • get totalRecords(): number
  • Returns number

  • set totalRecords(value): void
  • Returns the total number of records.

    Only functions when paging is enabled.

    const totalRecords = this.grid.totalRecords;
    

    Parameters

    • value: number

    Returns void

  • get unpinnedColumns(): IgcColumnComponent[]
  • Gets an array of unpinned IgxColumnComponents.

    const unpinnedColumns = this.grid.unpinnedColumns.
    

    Returns IgcColumnComponent[]

  • get validationTrigger(): GridValidationTrigger
  • Returns GridValidationTrigger

  • set validationTrigger(value): void
  • Gets/Sets the trigger for validators used when editing the grid.

    <igx-grid #grid validationTrigger='blur'></igx-grid>
    

    Parameters

    Returns void

  • get virtualizationState(): IgcForOfState
  • Returns the state of the grid virtualization.

    Includes the start index and how many records are rendered.

    const gridVirtState = this.grid1.virtualizationState;
    

    Returns IgcForOfState

  • get visibleColumns(): IgcColumnComponent[]
  • Returns an array of visible IgxColumnComponents.

    const visibleColumns = this.grid.visibleColumns.
    

    Returns IgcColumnComponent[]

  • get width(): string
  • Returns string

  • set width(value): void
  • Gets/Sets the width of the grid.

    let gridWidth = this.grid.width;
    

    Parameters

    • value: string

    Returns void

Methods

  • Type parameters

    Type Parameters

    Parameters

    • type: K
    • listener: ((this: HTMLElement, ev: M[K]) => any)
        • (this, ev): any
        • Parameters

          • this: HTMLElement
          • ev: M[K]

          Returns any

    • options: boolean | AddEventListenerOptions

    Returns void

  • Parameters

    • type: string
    • listener: EventListenerOrEventListenerObject
    • options: boolean | AddEventListenerOptions

    Returns void

  • Type parameters

    Type Parameters

    Parameters

    • type: K
    • listener: ((this: HTMLElement, ev: M[K]) => any)
        • (this, ev): any
        • Parameters

          • this: HTMLElement
          • ev: M[K]

          Returns any

    • options: boolean | AddEventListenerOptions

    Returns void

  • Type parameters

    Type Parameters

    • K extends keyof HTMLElementEventMap

    Parameters

    • type: K
    • listener: ((this: HTMLElement, ev: HTMLElementEventMap[K]) => any)
        • (this, ev): any
        • Parameters

          • this: HTMLElement
          • ev: HTMLElementEventMap[K]

          Returns any

    • options: boolean | AddEventListenerOptions

    Returns void

  • Creates a new IgxGridRowComponent and adds the data record to the end of the data source.

    this.grid1.addRow(record);
    

    Parameters

    • data: any

    Returns void

  • Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.

    Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

    Parameters

    • ...nodes: (string | Node)[]

    Returns void

  • Parameters

    • keyframes: PropertyIndexedKeyframes | Keyframe[]
    • options: number | KeyframeAnimationOptions

    Returns Animation

  • Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.

    Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

    Parameters

    • ...nodes: (string | Node)[]

    Returns void

  • Type parameters

    Type Parameters

    • T extends Node<T>

    Parameters

    • node: T

    Returns T

  • Returns ElementInternals

  • Creates a shadow root for element and returns it.

    Parameters

    • init: ShadowRootInit

    Returns ShadowRoot

  • Auto-sizes row dimension cells.

    Only sizes based on the dimension cells in view.

    this.grid.autoSizeRowDimension(dimension);
    

    Parameters

    Returns void

  • Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.

    Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

    Parameters

    • ...nodes: (string | Node)[]

    Returns void

  • Enters add mode by spawning the UI under the specified row by rowID.

    If null is passed as rowID, the row adding UI is spawned as the first record in the data view

    this.grid.beginAddRowById('ALFKI');
    this.grid.beginAddRowById('ALFKI', true);
    this.grid.beginAddRowById(null);

    Parameters

    • rowID: any

      The rowID to spawn the add row UI for, or null to spawn it as the first record in the data view

    • asChild: boolean

      Whether the record should be added as a child. Only applicable to igxTreeGrid.

    Returns void

  • Enters add mode by spawning the UI at the specified index.

    Accepted values for index are integers from 0 to this.grid.dataView.length

    this.grid.beginAddRowByIndex(0);
    

    Parameters

    • index: number

      The index to spawn the UI at. Accepts integers from 0 to this.grid.dataView.length

    Returns void

  • Returns void

  • Deselect selected cells.

    this.grid.clearCellSelection();
    

    Returns void

  • If name is provided, clears the filtering state of the corresponding IgxColumnComponent.

    Otherwise clears the filtering state of all IgxColumnComponents.

    this.grid.clearFilter();
    

    Parameters

    • name: string

    Returns void

  • Removes all the highlights in the cell.

    this.grid.clearSearch();
    

    Returns void

  • If name is provided, clears the sorting state of the corresponding IgxColumnComponent.

    otherwise clears the sorting state of all IgxColumnComponent.

    this.grid.clearSort();
    

    Parameters

    • name: string

    Returns void

  • Returns void

  • Returns a copy of node. If deep is true, the copy also includes the node's descendants.

    Parameters

    • deep: boolean

    Returns Node

  • Closes the advanced filtering dialog.

    Parameters

    • applyChanges: boolean

      indicates whether the changes should be applied

    Returns void

  • Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.

    Type parameters

    Type Parameters

    • K extends keyof HTMLElementTagNameMap

    Parameters

    • selector: K

    Returns HTMLElementTagNameMap[K]

  • Type parameters

    Type Parameters

    • K extends keyof SVGElementTagNameMap

    Parameters

    • selector: K

    Returns SVGElementTagNameMap[K]

  • Type parameters

    Type Parameters

    • E extends Element<E> = Element

    Parameters

    • selectors: string

    Returns E

  • Collapses all rows.

    this.grid.collapseAll();
    

    Returns void

  • Collapses the row by its id.

    ID is either the primaryKey value or the data record instance.

    this.grid.collapseRow(rowID);
    

    Parameters

    • rowID: any

      The row id - primaryKey value or the data record instance.

    Returns void

  • Returns a bitmask indicating the position of other relative to node.

    Parameters

    • other: Node

    Returns number

  • Returns true if other is an inclusive descendant of node, and false otherwise.

    Parameters

    • other: Node

    Returns boolean

  • Removes the IgxGridRowComponent and the corresponding data record by primary key.

    Requires that the primaryKey property is set. The method accept rowSelector as a parameter, which is the rowID.

    this.grid1.deleteRow(0);
    

    Parameters

    • rowSelector: any

    Returns any

  • Deselects all columns

    this.grid.deselectAllColumns();
    

    Returns void

  • Deselects all rows

    By default if filtering is in place, selectAllRows() and deselectAllRows() select/deselect all filtered rows. If you set the parameter onlyFilterData to false that will deselect all rows in the grid exept deleted rows.

    this.grid.deselectAllRows();
    

    Parameters

    • onlyFilterData: boolean

    Returns void

  • Deselect specified columns by field.

    this.grid.deselectColumns(['ID','Name']);
    

    Parameters

    Returns void

  • Deselect specified rows by ID.

    this.grid.deselectRows([1,2,5]);
    

    Parameters

    • rowIDs: any[]

    Returns void

  • Disable summaries for the specified column.

    grid.disableSummaries('ProductName');
    

    Disable summaries for the listed columns.

    grid.disableSummaries([{ fieldName: 'ProductName' }]);
    

    Parameters

    • rest: any[]

    Returns void

  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    Parameters

    • event: Event

    Returns boolean

  • Enables summaries for the specified column and applies your customSummary.

    If you do not provide the customSummary, then the default summary for the column data type will be applied.

    grid.enableSummaries([{ fieldName: 'ProductName' }, { fieldName: 'ID' }]);
    

    Enable summaries for the listed columns.

    grid.enableSummaries('ProductName');
    

    Parameters

    • rest: any[]

    Returns void

  • Finishes the row transactions on the current row and returns whether the grid editing was canceled.

    If commit === true, passes them from the pending state to the data (or transaction service)

    <button type="button" igxButton (click)="grid.endEdit(true)">Commit Row</button>
    

    Parameters

    • commit: boolean
    • evt: any

    Returns boolean

  • Expands all rows.

    this.grid.expandAll();
    

    Returns void

  • Expands the row by its id.

    ID is either the primaryKey value or the data record instance.

    this.grid.expandRow(rowID);
    

    Parameters

    • rowID: any

      The row id - primaryKey value or the data record instance.

    Returns void

  • Filters a single IgxColumnComponent.

    public filter(term) {
    this.grid.filter("ProductName", term, IgxStringFilteringOperand.instance().condition("contains"));
    }

    Parameters

    Returns void

  • Filters a single IPivotDimension.

    public filter() {
    const set = new Set();
    set.add('Value 1');
    set.add('Value 2');
    this.grid1.filterDimension(this.pivotConfigHierarchy.rows[0], set, IgxStringFilteringOperand.instance().condition('in'));
    }

    Parameters

    Returns void

  • Filters all the IgxColumnComponent in the IgxGridComponent with the same condition.

    grid.filterGlobal('some', IgxStringFilteringOperand.instance().condition('contains'));
    

    Parameters

    • value: any
    • condition: any
    • ignoreCase: any

    Returns void

  • Finds the next occurrence of a given string in the grid and scrolls to the cell if it isn't visible.

    Returns how many times the grid contains the string.

    this.grid.findNext("financial");
    

    Parameters

    • text: string

      the string to search.

    • caseSensitive: boolean

      optionally, if the search should be case sensitive (defaults to false).

    • exactMatch: boolean

      optionally, if the text should match the entire value (defaults to false).

    Returns number

  • Finds the previous occurrence of a given string in the grid and scrolls to the cell if it isn't visible.

    Returns how many times the grid contains the string.

    this.grid.findPrev("financial");
    

    Parameters

    • text: string

      the string to search.

    • caseSensitive: boolean

      optionally, if the search should be case sensitive (defaults to false).

    • exactMatch: boolean

      optionally, if the text should match the entire value (defaults to false).

    Returns number

  • Parameters

    • options: FocusOptions

    Returns void

  • Parameters

    • options: GetAnimationsOptions

    Returns Animation[]

  • Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.

    Parameters

    • qualifiedName: string

    Returns string

  • Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.

    Parameters

    • namespace: string
    • localName: string

    Returns string

  • Returns the qualified names of all element's attributes. Can contain duplicates.

    Returns string[]

  • Parameters

    • qualifiedName: string

    Returns Attr

  • Parameters

    • namespace: string
    • localName: string

    Returns Attr

  • Returns DOMRect

  • Returns DOMRectList

  • Returns the IgxColumnComponent by field name.

    const myCol = this.grid1.getColumnByName("ID");
    

    Parameters

    • name: string

    Returns IgcColumnComponent

  • Parameters

    • index: number

    Returns IgcColumnComponent

  • Parameters

    Returns void

  • Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.

    Parameters

    • classNames: string

    Returns HTMLCollectionOf<Element>

  • Type parameters

    Type Parameters

    • K extends keyof HTMLElementTagNameMap

    Parameters

    • qualifiedName: K

    Returns HTMLCollectionOf<HTMLElementTagNameMap[K]>

  • Type parameters

    Type Parameters

    • K extends keyof SVGElementTagNameMap

    Parameters

    • qualifiedName: K

    Returns HTMLCollectionOf<SVGElementTagNameMap[K]>

  • Parameters

    • qualifiedName: string

    Returns HTMLCollectionOf<Element>

  • Parameters

    • namespaceURI: "http://www.w3.org/1999/xhtml"
    • localName: string

    Returns HTMLCollectionOf<HTMLElement>

  • Parameters

    • namespaceURI: "http://www.w3.org/2000/svg"
    • localName: string

    Returns HTMLCollectionOf<SVGElement>

  • Parameters

    • namespace: string
    • localName: string

    Returns HTMLCollectionOf<Element>

  • Gets the width to be set on IgxGridHeaderGroupComponent.

    Parameters

    Returns string

  • Returns ICellPosition which defines the next cell, according to the current position, that match specific criteria.

    You can pass callback function as a third parameter of getPreviousCell method. The callback function accepts IgxColumnComponent as a param

     const nextEditableCellPosition = this.grid.getNextCell(0, 3, (column) => column.editable);
    

    Parameters

    • currRowIndex: number
    • curVisibleColIndex: number
    • callback: any

    Returns IgcCellPosition

  • Gets calculated width of the pinned area.

    const pinnedWidth = this.grid.getPinnedWidth();
    

    Parameters

    • takeHidden: boolean

      If we should take into account the hidden columns in the pinned area.

    Returns void

  • Returns ICellPosition which defines the previous cell, according to the current position, that match specific criteria.

    You can pass callback function as a third parameter of getPreviousCell method. The callback function accepts IgxColumnComponent as a param

     const previousEditableCellPosition = this.grid.getPreviousCell(0, 3, (column) => column.editable);
    

    Parameters

    • currRowIndex: number
    • curVisibleColIndex: number
    • callback: any

    Returns IgcCellPosition

  • Returns node's root.

    Parameters

    • options: GetRootNodeOptions

    Returns Node

  • Returns the data that is contained in the row component.

    If the primary key is not specified the row selector match the row data.

    const data = grid.getRowData(94741);
    

    Parameters

    • rowSelector: any

      correspond to rowID

    Returns any

  • Returns an array of the current columns selection in the form of [{ column.field: cell.value }, ...].

    If formatters is enabled, the cell value will be formatted by its respective column formatter (if any). If headers is enabled, it will use the column header (if any) instead of the column field.

    Parameters

    • formatters: boolean
    • headers: boolean

    Returns void

  • Returns an array of the current cell selection in the form of [{ column.field: cell.value }, ...].

    If formatters is enabled, the cell value will be formatted by its respective column formatter (if any). If headers is enabled, it will use the column header (if any) instead of the column field.

    Parameters

    • formatters: boolean
    • headers: boolean

    Returns void

  • Get the currently selected ranges in the grid.

    Returns IgcGridSelectionRange[]

  • Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.

    Parameters

    • qualifiedName: string

    Returns boolean

  • Returns true if element has an attribute whose namespace is namespace and local name is localName.

    Parameters

    • namespace: string
    • localName: string

    Returns boolean

  • Returns true if element has attributes, and false otherwise.

    Returns boolean

  • Returns whether node has children.

    Returns boolean

  • Parameters

    • pointerId: number

    Returns boolean

  • Parameters

    • where: InsertPosition
    • element: Element

    Returns Element

  • Parameters

    • position: InsertPosition
    • text: string

    Returns void

  • Parameters

    • where: InsertPosition
    • data: string

    Returns void

  • Type parameters

    Type Parameters

    • T extends Node<T>

    Parameters

    • node: T
    • child: Node

    Returns T

  • Inserts dimension in target collection by type at specified index or at the collection's end.

    this.grid.insertDimensionAt(dimension, PivotDimensionType.Row, 1);
    

    Parameters

    • dimension: IgcPivotDimension

      The dimension that will be added.

    • targetCollectionType: PivotDimensionType

      The target collection type to add to. Can be Row, Column or Filter.

    • index: number

      The index in the collection at which to add. This parameter is optional. If not set it will add it to the end of the collection.

    Returns void

  • Inserts value at specified index or at the end.

    this.grid.insertValueAt(value, 1);
    

    Parameters

    • value: IgcPivotValue

      The value definition that will be added.

    • index: number

      The index in the collection at which to add. This parameter is optional. If not set it will add it to the end of the collection.

    Returns void

  • Parameters

    • namespace: string

    Returns boolean

  • Returns whether node and otherNode have the same properties.

    Parameters

    • otherNode: Node

    Returns boolean

  • Returns whether the record is pinned or not.

    Parameters

    • rowIndex: number

      Index of the record in the filteredSortedData collection.

    Returns void

  • Parameters

    • otherNode: Node

    Returns boolean

  • Parameters

    • prefix: string

    Returns string

  • Parameters

    • namespace: string

    Returns string

  • Triggers change detection for the IgxGridComponent. Calling markForCheck also triggers the grid pipes explicitly, resulting in all updates being processed. May degrade performance if used when not needed, or if misused:

    // DON'Ts:
    // don't call markForCheck from inside a loop
    // don't call markForCheck when a primitive has changed
    grid.data.forEach(rec => {
    rec = newValue;
    grid.markForCheck();
    });

    // DOs
    // call markForCheck after updating a nested property
    grid.data.forEach(rec => {
    rec.nestedProp1.nestedProp2 = newValue;
    });
    grid.markForCheck();
    grid.markForCheck();
    

    Returns void

  • Returns true if matching selectors against element's root yields element, and false otherwise.

    Parameters

    • selectors: string

    Returns boolean

  • Places a column before or after the specified target column.

    grid.moveColumn(column, target);
    

    Parameters

    Returns void

  • Move dimension from its currently collection to the specified target collection by type at specified index or at the collection's end.

    this.grid.moveDimension(dimension, PivotDimensionType.Row, 1);
    

    Parameters

    • dimension: IgcPivotDimension

      The dimension that will be moved.

    • targetCollectionType: PivotDimensionType

      The target collection type to move it to. Can be Row, Column or Filter.

    • index: number

      The index in the collection at which to add. This parameter is optional. If not set it will add it to the end of the collection.

    Returns void

  • Move value from its currently at specified index or at the end.

    this.grid.moveValue(value, 1);
    

    Parameters

    • value: IgcPivotValue

      The value that will be moved.

    • index: number

      The index in the collection at which to add. This parameter is optional. If not set it will add it to the end of the collection.

    Returns void

  • Navigates to a position in the grid based on provided rowindex and visibleColumnIndex.

    Also can execute a custom logic over the target element, through a callback function that accepts { targetType: GridKeydownTargetType, target: Object }

     this.grid.navigateTo(10, 3, (args) => { args.target.nativeElement.focus(); });
    

    Parameters

    • rowIndex: number
    • visibleColIndex: number
    • cb: any

    Returns void

  • Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.

    Returns void

  • Notifies for dimension change.

    Parameters

    • regenerateColumns: boolean

    Returns void

  • Opens the advanced filtering dialog.

    Parameters

    Returns void

  • Pins a column by field name.

    Returns whether the operation is successful.

    this.grid.pinColumn("ID");
    

    Parameters

    • columnName: string
    • index: number

    Returns boolean

  • Pin the row by its id.

    ID is either the primaryKey value or the data record instance.

    this.grid.pinRow(rowID);
    

    Parameters

    • rowID: any

      The row id - primaryKey value or the data record instance.

    • index: number

      The index at which to insert the row in the pinned collection.

    • row: IgcRowType

    Returns boolean

  • Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.

    Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

    Parameters

    • ...nodes: (string | Node)[]

    Returns void

  • Returns the first element that is a descendant of node that matches selectors.

    Type parameters

    Type Parameters

    • K extends keyof HTMLElementTagNameMap

    Parameters

    • selectors: K

    Returns HTMLElementTagNameMap[K]

  • Type parameters

    Type Parameters

    • K extends keyof SVGElementTagNameMap

    Parameters

    • selectors: K

    Returns SVGElementTagNameMap[K]

  • Type parameters

    Type Parameters

    • E extends Element<E> = Element

    Parameters

    • selectors: string

    Returns E

  • Returns all element descendants of node that match selectors.

    Type parameters

    Type Parameters

    • K extends keyof HTMLElementTagNameMap

    Parameters

    • selectors: K

    Returns NodeListOf<HTMLElementTagNameMap[K]>

  • Type parameters

    Type Parameters

    • K extends keyof SVGElementTagNameMap

    Parameters

    • selectors: K

    Returns NodeListOf<SVGElementTagNameMap[K]>

  • Type parameters

    Type Parameters

    • E extends Element<E> = Element

    Parameters

    • selectors: string

    Returns NodeListOf<E>

  • Recalculates all widths of columns that have size set to auto.

    this.grid1.recalculateAutoSizes();
    

    Returns void

  • Recalculates grid width/height dimensions.

    Should be run when changing DOM elements dimentions manually that affect the grid's size.

    this.grid.reflow();
    

    Returns void

  • Reapplies the existing search.

    Returns how many times the grid contains the last search.

    this.grid.refreshSearch();
    

    Parameters

    • updateActiveInfo: boolean
    • endEdit: boolean

    Returns number

  • Parameters

    • pointerId: number

    Returns void

  • Removes node.

    Returns void

  • Removes element's first attribute whose qualified name is qualifiedName.

    Parameters

    • qualifiedName: string

    Returns void

  • Removes element's attribute whose namespace is namespace and local name is localName.

    Parameters

    • namespace: string
    • localName: string

    Returns void

  • Parameters

    • attr: Attr

    Returns Attr

  • Type parameters

    Type Parameters

    • T extends Node<T>

    Parameters

    • child: T

    Returns T

  • Removes dimension from its currently collection.

    This is different than toggleDimension that enabled/disables the dimension. This completely removes the specified dimension from the collection.

    this.grid.removeDimension(dimension);
    

    Parameters

    Returns void

  • Type parameters

    Type Parameters

    Parameters

    • type: K
    • listener: ((this: HTMLElement, ev: M[K]) => any)
        • (this, ev): any
        • Parameters

          • this: HTMLElement
          • ev: M[K]

          Returns any

    • options: boolean | EventListenerOptions

    Returns void

  • Parameters

    • type: string
    • listener: EventListenerOrEventListenerObject
    • options: boolean | EventListenerOptions

    Returns void

  • Type parameters

    Type Parameters

    Parameters

    • type: K
    • listener: ((this: HTMLElement, ev: M[K]) => any)
        • (this, ev): any
        • Parameters

          • this: HTMLElement
          • ev: M[K]

          Returns any

    • options: boolean | EventListenerOptions

    Returns void

  • Type parameters

    Type Parameters

    • K extends keyof HTMLElementEventMap

    Parameters

    • type: K
    • listener: ((this: HTMLElement, ev: HTMLElementEventMap[K]) => any)
        • (this, ev): any
        • Parameters

          • this: HTMLElement
          • ev: HTMLElementEventMap[K]

          Returns any

    • options: boolean | EventListenerOptions

    Returns void

  • Removes value from collection.

    This is different than toggleValue that enabled/disables the value. This completely removes the specified value from the collection.

    this.grid.removeValue(dimension);
    

    Parameters

    Returns void

  • Type parameters

    Type Parameters

    • T extends Node<T>

    Parameters

    • node: Node
    • child: T

    Returns T

  • Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.

    Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

    Parameters

    • ...nodes: (string | Node)[]

    Returns void

  • Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.

    Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.

    Parameters

    • ...nodes: (string | Node)[]

    Returns void

  • Displays element fullscreen and resolves promise when done.

    When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference.

    Parameters

    • options: FullscreenOptions

    Returns Promise<void>

  • Returns void

  • Parameters

    • options: ScrollToOptions

    Returns void

  • Parameters

    • x: number
    • y: number

    Returns void

  • Parameters

    • options: ScrollToOptions

    Returns void

  • Parameters

    • x: number
    • y: number

    Returns void

  • Parameters

    • arg: boolean | ScrollIntoViewOptions

    Returns void

  • Parameters

    • options: ScrollToOptions

    Returns void

  • Parameters

    • x: number
    • y: number

    Returns void

  • Selects all columns

    this.grid.deselectAllColumns();
    

    Returns void

  • Selects all rows

    By default if filtering is in place, selectAllRows() and deselectAllRows() select/deselect all filtered rows. If you set the parameter onlyFilterData to false that will select all rows in the grid exept deleted rows.

    this.grid.selectAllRows();
    this.grid.selectAllRows(false);

    Parameters

    • onlyFilterData: boolean

    Returns void

  • Select specified columns.

    this.grid.selectColumns(['ID','Name'], true);
    

    Parameters

    • columns: string[] | IgcColumnComponent[]
    • clearCurrentSelection: boolean

      if true clears the current selection

    Returns void

  • Select range(s) of cells between certain rows and columns of the grid.

    Parameters

    Returns void

  • Select specified rows by ID.

    this.grid.selectRows([1,2,5], true);
    

    Parameters

    • rowIDs: any[]
    • clearCurrentSelection: boolean

      if true clears the current selection

    Returns void

  • Get current selected columns.

    Returns an array with selected columns

    const selectedColumns = this.grid.selectedColumns();
    

    Returns IgcColumnComponent[]

  • Sets the value of element's first attribute whose qualified name is qualifiedName to value.

    Parameters

    • qualifiedName: string
    • value: string

    Returns void

  • Sets the value of element's attribute whose namespace is namespace and local name is localName to value.

    Parameters

    • namespace: string
    • qualifiedName: string
    • value: string

    Returns void

  • Parameters

    • attr: Attr

    Returns Attr

  • Parameters

    • attr: Attr

    Returns Attr

  • Parameters

    • pointerId: number

    Returns void

  • Sort a single IgxColumnComponent.

    Sort the IgxGridComponent's IgxColumnComponent based on the provided array of sorting expressions.

    this.grid.sort({ fieldName: name, dir: SortingDirection.Asc, ignoreCase: false });
    

    Parameters

    Returns void

  • Sort the dimension and its children in the provided direction.

    this.grid.sortDimension(dimension, SortingDirection.Asc);
    

    Parameters

    Returns void

  • If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.

    Returns true if qualifiedName is now present, and false otherwise.

    Parameters

    • qualifiedName: string
    • force: boolean

    Returns boolean

  • Parameters

    Returns void

  • Toggles the specified column's visibility.

    this.grid1.toggleColumnVisibility({
    column: this.grid1.columns[0],
    newValue: true
    });

    Parameters

    Returns void

  • Toggles the dimension's enabled state on or off.

    The dimension remains in its current collection. This just changes its enabled state.

    this.grid.toggleDimension(dimension);
    

    Parameters

    Returns void

  • Toggles the row by its id.

    ID is either the primaryKey value or the data record instance.

    this.grid.toggleRow(rowID);
    

    Parameters

    • rowID: any

      The row id - primaryKey value or the data record instance.

    Returns void

  • Parameters

    Returns void

  • Toggles the value's enabled state on or off.

    The value remains in its current collection. This just changes its enabled state.

    this.grid.toggleValue(value);
    

    Parameters

    Returns void

  • Unpins a column by field name. Returns whether the operation is successful.

    this.grid.pinColumn("ID");
    

    Parameters

    • columnName: string
    • index: number

    Returns boolean

  • Unpin the row by its id.

    ID is either the primaryKey value or the data record instance.

    this.grid.unpinRow(rowID);
    

    Parameters

    • rowID: any

      The row id - primaryKey value or the data record instance.

    • row: IgcRowType

    Returns boolean

  • Updates the IgxGridRowComponent and the corresponding data record by primary key.

    Requires that the primaryKey property is set.

    this.gridWithPK.updateCell('Updated', 1, 'ProductName');
    

    Parameters

    • value: any

      the new value which is to be set.

    • rowSelector: any

      corresponds to rowID.

    • column: string

      corresponds to column field.

    Returns void

  • Updates the IgxGridRowComponent

    The row is specified by rowSelector parameter and the data source record with the passed value. This method will apply requested update only if primary key is specified in the grid.

    grid.updateRow({
    ProductID: 1, ProductName: 'Spearmint', InStock: true, UnitsInStock: 1, OrderDate: new Date('2005-03-21')
    }, 1);

    Parameters

    • value: any
    • rowSelector: any

      correspond to rowID

    Returns void

  • This is a legacy alias of matches.

    Parameters

    • selectors: string

    Returns boolean

  • Returns void