Floating Rows

Floating rows hang either above or below the normal rows of a table. This feature is also called Frozen rows in other grids. In ag-Grid they are called Floating Rows.

To put floating rows into your grid, set floatingTopRowData or floatingBottomRowData in the same way as you would set normal data into rowData.

After the grid is created, you can update the floating rows by calling api.setFloatingTopRowData(rows) and setFloatingBottomRowData(rows)

Cell Editing

Cell editing can take place as normal on floating rows.

Cell Rendering

Cell rendering can take place as normal on floating rows. There is an additional floatingCellRenderer callback you can use to give floating cells a different cellRenderer to the other cells. If both cellRenderer and floatingCellRenderer are provided, frozen cells will use floatingCellRenderer if available, if not then cellRenderer.

Example

Example below shows floating rows. To mix things up a bit, the example also has pinned left and right columns, to show the floating rows playing nicely with pinning.