Web Components Row Pinning

    The Ignite UI for Web Components Data Table / Data Grid allows Row Pinning by either using keys or the underlying data source items. When a row is pinned, it will be duplicated at the top of the web-components data grid and remain fixed there with light gray background and its actual row will be rendered with low opacity.

    Web Components Row Pinning Example

    You can pin rows in the Web Components data grid by adding the target row’s underlying data item to the pinnedItems collection of the Web Components grid.

    Code Snippet

     <igc-data-grid id="grid"
    let grid1 = (document.getElementById("grid") as IgcDataGridComponent);
    grid1.dataSource = data;

    API References